diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 14:32:50 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 14:32:50 +1100 |
commit | 21ccc19acbe9d8c45c479917e6d53eb1d4a7f35c (patch) | |
tree | ee670c24314822faf8f80a921b56769193042841 /app/views | |
parent | b884b3ddf29d7ee0324cd7cbbc35e436262e40f6 (diff) |
Fix bug where current user was always shown when creating censor rule for a request
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin_censor_rule/new.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_censor_rule/new.rhtml b/app/views/admin_censor_rule/new.rhtml index 6cac58b3b..c991f327e 100644 --- a/app/views/admin_censor_rule/new.rhtml +++ b/app/views/admin_censor_rule/new.rhtml @@ -3,7 +3,7 @@ <h1><%=@title%></h1> <% form_tag 'create', :class => "form form-horizontal" do %> - <%= render :partial => 'form', :locals => { :info_request => @info_request, :user => @user } %> + <%= render :partial => 'form', :locals => { :info_request => @info_request, :user => @censor_user } %> <div class="form-actions"> <%= submit_tag "Create", :class => "btn btn-primary" %> </div> |