Fix admin identities code

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-06-23 10:26:50 +02:00
parent 7390b94db2
commit 1beb0dbe56
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
2 changed files with 2 additions and 2 deletions

View file

@ -36,6 +36,6 @@ class Admin::IdentitiesController < Admin::ApplicationController
end
def identity_params
params[:identity].require(:identity).permit(:provider, :extern_uid)
params.require(:identity).permit(:provider, :extern_uid)
end
end

View file

@ -1,5 +1,5 @@
- page_title @user.name, "Users"
= render 'admin/users/head', page_name: 'Account'
= render 'admin/users/head'
.row
.col-md-6