]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/diary_entry_controller.rb
Made rubocop happy by formatting and minor syntax tweaks.
[rails.git] / app / controllers / diary_entry_controller.rb
index ed5a640579b713d4f63683ad824f94cb5b3e04f4..105ddb59065d33b724fb02dac6c36c3a11e171eb 100644 (file)
@@ -153,7 +153,7 @@ class DiaryEntryController < ApplicationController
     if @entry
       @title = t "diary_entry.view.title", :user => params[:display_name], :title => @entry.title
       if params[:comment_id]
-        @reported_comment = DiaryComment.where(id: params[:comment_id])
+        @reported_comment = DiaryComment.where(:id => params[:comment_id])
       end
     else
       @title = t "diary_entry.no_such_entry.title", :id => params[:id]