aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-08 14:32:50 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-08 14:32:50 +1100
commit21ccc19acbe9d8c45c479917e6d53eb1d4a7f35c (patch)
treeee670c24314822faf8f80a921b56769193042841 /app/controllers
parentb884b3ddf29d7ee0324cd7cbbc35e436262e40f6 (diff)
Fix bug where current user was always shown when creating censor rule for a request
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin_censor_rule_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_censor_rule_controller.rb b/app/controllers/admin_censor_rule_controller.rb
index f6abc70df..d3e9e47d2 100644
--- a/app/controllers/admin_censor_rule_controller.rb
+++ b/app/controllers/admin_censor_rule_controller.rb
@@ -10,7 +10,7 @@ class AdminCensorRuleController < AdminController
@info_request = InfoRequest.find(params[:info_request_id])
end
if params[:user_id]
- @user = User.find(params[:user_id])
+ @censor_user = User.find(params[:user_id])
end
end