Disable deletion in forums #56

Merged
ThatSimplex merged 4 commits from disable_deletion into master 2019-02-24 13:02:45 -05:00
Showing only changes of commit f6cb866b85 - Show all commits

View File

@@ -89,7 +89,7 @@ class ForumsController < ApplicationController
end
def forum_params(add = [])
a = [:name, :position, :role_read_id, :role_write_id, :necro_length] + add
a = [:name, :position, :role_read_id, :role_write_id, :necro_length, :disable_deletion] + add
params.require(:forum).permit(a)
end
end