Added Necropost Warning

This commit is contained in:
MrYummy
2017-05-28 17:40:50 -04:00
parent 1b4a270038
commit 2c02a797b8
7 changed files with 55 additions and 28 deletions

View File

@@ -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
end