Rubocop autofixes.
This commit is contained in:
parent
e6f06f0515
commit
38e12759ea
16 changed files with 56 additions and 69 deletions
|
@ -1,14 +1,13 @@
|
|||
xml.rss("version" => "2.0",
|
||||
xml.rss("version" => "2.0",
|
||||
"xmlns:dc" => "http://purl.org/dc/elements/1.1/") do
|
||||
xml.channel do
|
||||
if @changeset
|
||||
xml.title t('changeset.rss.title_particular', :changeset_id => @changeset.id)
|
||||
xml.title t("changeset.rss.title_particular", :changeset_id => @changeset.id)
|
||||
else
|
||||
xml.title t('changeset.rss.title_all')
|
||||
xml.title t("changeset.rss.title_all")
|
||||
end
|
||||
xml.link url_for(:controller => "site", :action => "index", :only_path => false)
|
||||
|
||||
xml << render(:partial => "comments", :object => @comments)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue