aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/refinery/blog/comment_mailer/notification.html.erb2
-rw-r--r--app/views/refinery/blog/posts/index.html.erb6
-rw-r--r--app/views/refinery/blog/posts/index.rss.builder4
3 files changed, 6 insertions, 6 deletions
diff --git a/app/views/refinery/blog/comment_mailer/notification.html.erb b/app/views/refinery/blog/comment_mailer/notification.html.erb
index a129d34..8bf642e 100644
--- a/app/views/refinery/blog/comment_mailer/notification.html.erb
+++ b/app/views/refinery/blog/comment_mailer/notification.html.erb
@@ -12,6 +12,6 @@
<%=raw t('.comment_ends') %>
<%=raw t('.closing_line') %>,
-<%=raw Refinery::Core.config.site_name %>
+<%=raw Refinery::Core.site_name %>
<%=raw t('.ps') %>
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb
index 36c007b..2e8837c 100644
--- a/app/views/refinery/blog/posts/index.html.erb
+++ b/app/views/refinery/blog/posts/index.html.erb
@@ -1,5 +1,5 @@
<% content_for :body_content_left do %>
- <%= raw @page.content_for(::Refinery::Pages.config.default_parts.first.to_sym) if ::Refinery::Pages.config.default_parts.any? %>
+ <%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>
<% if @posts.any? %>
<section id="blog_posts">
@@ -12,8 +12,8 @@
<% end %>
<% content_for :body_content_right_prepend do -%>
- <%= raw @page.content_for(::Refinery::Pages.config.default_parts.second.to_sym) %>
-<% end if ::Refinery::Pages.config.default_parts.many? -%>
+ <%= raw @page.content_for(Refinery::Pages.default_parts.second.to_sym) %>
+<% end if Refinery::Pages.default_parts.many? -%>
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
<%= render :partial => "/refinery/content_page" %>
diff --git a/app/views/refinery/blog/posts/index.rss.builder b/app/views/refinery/blog/posts/index.rss.builder
index 867c6d6..8ffacd4 100644
--- a/app/views/refinery/blog/posts/index.rss.builder
+++ b/app/views/refinery/blog/posts/index.rss.builder
@@ -1,8 +1,8 @@
xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
xml.channel do
- xml.title Refinery::Core.config.site_name
- xml.description Refinery::Core.config.site_name + " Blog Posts"
+ xml.title Refinery::Core.site_name
+ xml.description Refinery::Core.site_name + " Blog Posts"
xml.link refinery.blog_root_url
@posts.each do |post|