Skip to content

Commit

Permalink
can now edit photos
Browse files Browse the repository at this point in the history
  • Loading branch information
tttiff committed Nov 30, 2018
1 parent c71d4ec commit 0f92af1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def skip_pundit?
def configure_permitted_parameters
# For additional fields in app/views/devise/registrations/new.html.erb
devise_parameter_sanitizer.permit(:sign_up, keys: [:first_name, :last_name, :professional, :service_ids, :photo])
devise_parameter_sanitizer.permit(:account_update, keys: [:first_name, :last_name, :professional, :service_ids, :photo])
end

def default_url_options
Expand Down

0 comments on commit 0f92af1

Please sign in to comment.