diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-04 21:22:51 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-04 21:22:51 +0200 |
commit | 34fd7b7b89da669b09cbd910cea109ff106bd85f (patch) | |
tree | 6a61422c88ce095a2ac9ab17a7f1ddf324c9dad7 /app/views | |
parent | 6cfebfae84491e4aa9aed8f3a7c019431dbb39c0 (diff) | |
download | refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.tar.gz refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.tar.bz2 refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.zip |
Move some of the Refinery::Setting's over to Refinery::Blog.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/refinery/blog/comment_mailer/notification.html.erb | 2 | ||||
-rw-r--r-- | app/views/refinery/blog/posts/index.html.erb | 6 | ||||
-rw-r--r-- | app/views/refinery/blog/posts/index.rss.builder | 4 |
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| |