mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Fix a bunch of rubocop offenses
This commit is contained in:
parent
106c6800a4
commit
4e1e8b798a
17 changed files with 57 additions and 222 deletions
|
@ -18,7 +18,7 @@ xml.rss :version => '2.0', 'xmlns:dc' => 'http://purl.org/dc/elements/1.1/' do
|
|||
end
|
||||
unless doc.published_at.blank?
|
||||
xml.pubDate DateTime.parse(doc.published_at).utc.strftime('%a, %d %b %Y %H:%M:%S %z')
|
||||
end
|
||||
end
|
||||
doc.originator.each do |originator|
|
||||
xml.dc :creator do
|
||||
xml.cdata! originator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue