summaryrefslogtreecommitdiff
path: root/app/controllers/forums_controller.rb
diff options
context:
space:
mode:
authorLogan Fick <logaldeveloper@protonmail.com>2019-02-24 13:01:53 -0500
committerLogan Fick <logaldeveloper@protonmail.com>2019-02-24 13:01:53 -0500
commit32e7b99b6da9bc5397e65dc4d2a146d7d2da510f (patch)
tree52a5aa2f203653d6dbe573cb1ede477a12fc8100 /app/controllers/forums_controller.rb
parent244a047cad85690a29af12c2f3d7866fe9f79e40 (diff)
parent2fe1cead68d3f66be5a9c6003990362e99bc1307 (diff)
Merged pull request #56.
Diffstat (limited to 'app/controllers/forums_controller.rb')
-rw-r--r--app/controllers/forums_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb
index 206f01f..16ea5b2 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, :necro_length] + add
+ a = [:name, :position, :role_read_id, :role_write_id, :necro_length, :disable_deletion] + add
params.require(:forum).permit(a)
end
end