]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/_comments.html.erb
Avoid passing the current_user.id when commenting
[rails.git] / app / views / issues / _comments.html.erb
index af9409662e19af58e749b82686232b72152a5e40..6e0f241b29f1c51c20d0af06ee309f0000f62a3d 100644 (file)
@@ -20,7 +20,7 @@
 </div>
 <br/>
 <div class="comment">
-  <%= form_for :issue_comment, :url => { :action => 'comment', :id => @issue.id, :user_id => @user.id } do |f| %>
+  <%= form_for :issue_comment, :url => { :action => 'comment', :id => @issue.id } do |f| %>
   <%= richtext_area :issue_comment, :body, :cols => 10, :rows => 8, :required => true %>
   <%= label_tag t('issues.show.comments.reassign_param') %> <%= check_box_tag :reassign, true %>
   <br/>