diff options
author | djones <dgjones@gmail.com> | 2010-11-27 10:11:16 +1300 |
---|---|---|
committer | djones <dgjones@gmail.com> | 2010-11-27 10:11:16 +1300 |
commit | 207a6c32b2eb135c5d44b5feb03e821871ab8ebb (patch) | |
tree | 426589a23bff9b1c7ee411a398ee46484e416d14 /app | |
parent | a30753a7a5691a39a6bc7a26563107dee249484d (diff) | |
download | refinerycms-blog-207a6c32b2eb135c5d44b5feb03e821871ab8ebb.tar.gz refinerycms-blog-207a6c32b2eb135c5d44b5feb03e821871ab8ebb.tar.bz2 refinerycms-blog-207a6c32b2eb135c5d44b5feb03e821871ab8ebb.zip |
remove data-nav-url attribute from in post navigation
Diffstat (limited to 'app')
-rw-r--r-- | app/views/blog/posts/_nav.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/blog/posts/_nav.html.erb b/app/views/blog/posts/_nav.html.erb index e478ca6..50391ee 100644 --- a/app/views/blog/posts/_nav.html.erb +++ b/app/views/blog/posts/_nav.html.erb @@ -1,13 +1,13 @@ <% if next_or_previous?(@blog_post) -%> <nav id="next_prev_article"> <% if @blog_post.next.present? -%> - <%= link_to raw(truncate(@blog_post.next.title) + " »"), @blog_post.next, :class => 'next', :"data-nav-url" => update_blog_nav_path(@blog_post.next) %> + <%= link_to raw(truncate(@blog_post.next.title) + " »"), @blog_post.next, :class => 'next' %> <% end -%> <%= link_to 'Blog Home', blog_root_path, :class => 'home' %> <% if @blog_post.prev.present? -%> - <%= link_to "« ".html_safe + truncate(@blog_post.prev.title), @blog_post.prev, :class => 'prev', :"data-nav-url" => update_blog_nav_path(@blog_post.prev) %> + <%= link_to "« ".html_safe + truncate(@blog_post.prev.title), @blog_post.prev, :class => 'prev' %> <% end -%> </nav><!-- /next_prev_article --> <% end -%> |