Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Commit

Permalink
Upgrade to devise 4.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
levent committed Oct 7, 2016
1 parent a9b9acb commit c9aefcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ def ensure_domain
end

def configure_permitted_parameters
devise_parameter_sanitizer.for(:sign_up) << :name
devise_parameter_sanitizer.permit(:sign_up, keys: [:username])
end
end

0 comments on commit c9aefcf

Please sign in to comment.