From 207a6c32b2eb135c5d44b5feb03e821871ab8ebb Mon Sep 17 00:00:00 2001 From: djones Date: Sat, 27 Nov 2010 10:11:16 +1300 Subject: remove data-nav-url attribute from in post navigation --- app/views/blog/posts/_nav.html.erb | 4 ++-- config/routes.rb | 1 - 2 files changed, 2 insertions(+), 3 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) -%> <% end -%> diff --git a/config/routes.rb b/config/routes.rb index df00362..2cb4723 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -7,7 +7,6 @@ if Rails.version < '3.0.0' blog.category 'categories/:id', :controller => "categories", :action => 'show' blog.post_blog_comments ':id/comments', :controller => 'posts', :action => 'comment' - ## what is the rails2 syntax for this? sorry ;__; # get 'archive/:year/:month', :to => 'posts#archive', :as => 'archive_blog_posts' end -- cgit v1.2.3