mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-03-13 22:33:34 +00:00
Fix grouper params
This commit is contained in:
parent
dd0e3c2c38
commit
848866f883
1 changed files with 3 additions and 1 deletions
|
@ -50,5 +50,7 @@ class Grouper < ActiveRecord::Base
|
||||||
cuser and cuser.admin?
|
cuser and cuser.admin?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.params(params, cuser)
|
||||||
|
params.require(:grouper).permit(:username, :user_id, :group_id, :task)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue