X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b69159795bc9c1a916b0d59e3edbefbc700561fb..00c2589374f9b9ed93de707322dbefbd3cd6c634:/app/views/diary_entries/show.html.erb diff --git a/app/views/diary_entries/show.html.erb b/app/views/diary_entries/show.html.erb index 1830c9ced..cfed1c46d 100644 --- a/app/views/diary_entries/show.html.erb +++ b/app/views/diary_entries/show.html.erb @@ -34,7 +34,7 @@ <% if current_user %>

<%= t ".leave_a_comment" %>

- <%= bootstrap_form_for @entry.comments.new, :url => { :action => "comment" } do |f| %> + <%= bootstrap_form_for @entry.comments.new, :url => comment_diary_entry_path(@entry.user, @entry) do |f| %> <%= f.richtext_field :body, :cols => 80, :rows => 20, :hide_label => true %> <%= f.primary %> <% end %>