diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-05 21:48:54 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-05 21:48:54 -0500 |
commit | d0545c2820d101a98b3c895cf6e3691145a62f3c (patch) | |
tree | b3bdb78ab94b2929c9bb7fdb2f6f257e58edc93e /app/controllers | |
parent | f72b55ce938a14313091a92d84c4083c3ba4f2fd (diff) |
use separate migrations to make things hidden, add user#groups:integer
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 989ef76..b18efed 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -69,6 +69,6 @@ class UsersController < ApplicationController # Never trust parameters from the scary internet, only allow the white list through. def user_params - params.require(:user).permit(:name, :email, :user_name, :password_digest, :remember_token) + params.require(:user).permit(:name, :email, :user_name) end end |