Sha256: 409287b3583c5c398733f7f4a97ce306e6e56b45f7990872f6b61692872fc54c

Contents?: true

Size: 595 Bytes

Versions: 9

Compression:

Stored size: 595 Bytes

Contents

xml.instruct!
xml.rss :version => 2.0, 'xmlns:atom' => "http://www.w3.org/2005/Atom" do
  xml.channel do
    xml.title "<%= class_name %>#<%= action %>"
    xml.description "Find me in <%= path %>"
    xml.language "en-us"
    xml.link url_for(params.merge(:format => nil, :only_path => false))
    xml.atom :link, :href => url_for(params.merge(:only_path => false)), :rel => 'self'

    xml.item do
      xml.title "Title"
      xml.description "Descriptions"
      xml.pubDate "#{Time.now.to_s(:rfc822)}"
      xml.link request.request_uri
      xml.guid request.request_uri
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
hashrocket-hashrocket-terraformation-0.0.0 rails_generators/terracontroller/templates/view.rss.builder.erb
hashrocket-terraformation-0.0.0 rails_generators/terracontroller/templates/view.rss.builder.erb
hashrocket-terraformation-0.1.0 rails_generators/terracontroller/templates/view.rss.builder.erb
hashrocket-terraformation-0.1.2 rails_generators/terracontroller/templates/view.rss.builder.erb
terraformation-0.2.2 rails_generators/terracontroller/templates/view.rss.builder.erb
terraformation-0.2.1 rails_generators/terracontroller/templates/view.rss.builder.erb
terraformation-0.2.0 rails_generators/terracontroller/templates/view.rss.builder.erb
terraformation-0.1.3 rails_generators/terracontroller/templates/view.rss.builder.erb
terraformation-0.1.2 rails_generators/terracontroller/templates/view.rss.builder.erb