X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f0e3a41726ecee0e772269878d1482081cd98c34..8cf16fe78b85743f284413fd8542f890bd6865fa:/app/views/issues/_comments.html.erb diff --git a/app/views/issues/_comments.html.erb b/app/views/issues/_comments.html.erb index a12e46237..36a5ec43d 100644 --- a/app/views/issues/_comments.html.erb +++ b/app/views/issues/_comments.html.erb @@ -20,7 +20,7 @@
- <%= form_for :issue_comment, :url => { :action => 'comment', :id => @issue.id } do |f| %> + <%= form_for @new_comment, url: issue_comments_path(@issue) 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 %>