diff options
Diffstat (limited to 'app/controllers/forums_controller.rb')
-rw-r--r-- | app/controllers/forums_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb index ecf570e..486d21c 100644 --- a/app/controllers/forums_controller.rb +++ b/app/controllers/forums_controller.rb @@ -89,7 +89,7 @@ class ForumsController < ApplicationController end def forum_params(add = []) - a = [:name, :position, :role_read_id, :role_write_id] + add + a = [:name, :position, :role_read_id, :role_write_id, :necro_length] + add params.require(:forum).permit(a) end -end
\ No newline at end of file +end |