Made rubocop happy by formatting and minor syntax tweaks.
This commit is contained in:
parent
5cc0eba3f1
commit
757a1aaa85
18 changed files with 511 additions and 608 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue