Rubocop autofixes.
This commit is contained in:
parent
e6f06f0515
commit
38e12759ea
16 changed files with 56 additions and 69 deletions
|
@ -1,17 +1,15 @@
|
|||
comments.each do |comment|
|
||||
xml.item do
|
||||
xml.title t("changeset.rss.comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
|
||||
|
||||
|
||||
xml.link url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)
|
||||
xml.guid url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)
|
||||
|
||||
xml.description do
|
||||
xml.cdata! render(:partial => "comment", :object => comment, :formats => [ :html ])
|
||||
xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html])
|
||||
end
|
||||
|
||||
if comment.author
|
||||
xml.dc :creator, comment.author.display_name
|
||||
end
|
||||
xml.dc :creator, comment.author.display_name if comment.author
|
||||
|
||||
xml.pubDate comment.created_at.to_s(:rfc822)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue