summaryrefslogtreecommitdiff
path: root/app/controllers/registrations_controller.rb
blob: b4a447a11cb6e77651c8a3c549e30ec05b116d5e (plain)
1
2
3
4
5
6
7
8
9
class RegistrationsController < Devise::RegistrationsController
  def after_sign_in_path_for(resource)
    my_cakes_path
  end

  def sign_up_params
    params.require(:user).permit(:name, :city, :email, :password, :password_confirmation)
  end
end