Class: SolidusBolt::AccountsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/solidus_bolt/accounts_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



5
6
7
8
9
# File 'app/controllers/solidus_bolt/accounts_controller.rb', line 5

def create
  Spree::User.find_by!(email: permitted_params[:email])

  head :ok
end