mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-03-12 22:01:40 +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?
|
||||
end
|
||||
|
||||
|
||||
def self.params(params, cuser)
|
||||
params.require(:grouper).permit(:username, :user_id, :group_id, :task)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue