diff options
author | Philip Arndt <parndt@gmail.com> | 2012-01-17 16:56:03 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-01-17 16:56:24 +1300 |
commit | b1e4fd00943a160f3eb6ce242463c0cc07a406fc (patch) | |
tree | 07fb750aa580b63d39c23589997956bf3a03594d /app/views/refinery/blog/posts/_nav.html.erb | |
parent | b3a25c1b686d205fc6b8b409a8f90059ae6b934d (diff) | |
download | refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.gz refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.bz2 refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.zip |
Fixed namespacing for Refinery conventions.
Diffstat (limited to 'app/views/refinery/blog/posts/_nav.html.erb')
-rw-r--r-- | app/views/refinery/blog/posts/_nav.html.erb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/refinery/blog/posts/_nav.html.erb b/app/views/refinery/blog/posts/_nav.html.erb index 67aed14..8734638 100644 --- a/app/views/refinery/blog/posts/_nav.html.erb +++ b/app/views/refinery/blog/posts/_nav.html.erb @@ -1,17 +1,17 @@ <nav id="next_prev_article"> - <% if @blog_post.next.present? -%> - <%= link_to (truncate(@blog_post.next.title) + " »").html_safe, - main_app.url_for(@blog_post.next), + <% if @post.next.present? -%> + <%= link_to (truncate(@post.next.title) + " »").html_safe, + main_app.url_for(@post.next), :class => 'next' %> <% end -%> <%= link_to t('blog_home', :scope => 'refinery.blog.posts.show'), - main_app.blog_root_path, + main_app.refinery_blog_root_path, :class => 'home' %> - <% if @blog_post.prev.present? -%> - <%= link_to ("« " + truncate(@blog_post.prev.title)).html_safe, - main_app.url_for(@blog_post.prev), + <% if @post.prev.present? -%> + <%= link_to ("« " + truncate(@post.prev.title)).html_safe, + main_app.url_for(@post.prev), :class => 'prev' %> <% end -%> </nav><!-- /next_prev_article --> |