aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts/index.rss.builder
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-07-28 17:22:26 -0700
committerJamie Winsor <jamie@enmasse.com>2011-07-28 17:29:34 -0700
commita70ea17038b510df7dfea0997d92d051e6cc65e5 (patch)
tree899bfbde240f3636064ee85bb37fb9c53b328098 /app/views/refinery/blog/posts/index.rss.builder
parent17f08ab5cb47e7d4d90385f1150e2373ed1abfa9 (diff)
downloadrefinerycms-blog-a70ea17038b510df7dfea0997d92d051e6cc65e5.tar.gz
refinerycms-blog-a70ea17038b510df7dfea0997d92d051e6cc65e5.tar.bz2
refinerycms-blog-a70ea17038b510df7dfea0997d92d051e6cc65e5.zip
Update translation scopes
Update url helpers in public views Various uninitialized constant fixes for public views & controllers Add some request specs to test what was fixed in this commit
Diffstat (limited to 'app/views/refinery/blog/posts/index.rss.builder')
-rw-r--r--app/views/refinery/blog/posts/index.rss.builder8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/refinery/blog/posts/index.rss.builder b/app/views/refinery/blog/posts/index.rss.builder
index 51fa4da..8cd89b7 100644
--- a/app/views/refinery/blog/posts/index.rss.builder
+++ b/app/views/refinery/blog/posts/index.rss.builder
@@ -1,16 +1,16 @@
xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
xml.channel do
- xml.title RefinerySetting.find_or_set(:site_name, "Company Name")
- xml.description RefinerySetting.find_or_set(:site_name, "Company Name") + " Blog Posts"
- xml.link blog_root_url
+ xml.title ::Refinery::Setting.find_or_set(:site_name, "Company Name")
+ xml.description ::Refinery::Setting.find_or_set(:site_name, "Company Name") + " Blog Posts"
+ xml.link main_app.blog_root_url
@blog_posts.each do |post|
xml.item do
xml.title post.title
xml.description post.body
xml.pubDate post.published_at.to_s(:rfc822)
- xml.link blog_post_url(post)
+ xml.link main_app.blog_post_url(post)
end
end
end