From 2f94c8c08aec64403fdecf3a13d20dc35a595fb5 Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Sat, 20 Nov 2010 13:59:27 -0600 Subject: ajaxify the nav --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 01fb501..1474c3f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -42,6 +42,7 @@ else match 'categories/:id', :to => 'categories#show', :as => 'blog_category' match ':id/comments', :to => 'posts#comment', :as => 'blog_post_blog_comments' get 'archive/:year/:month', :to => 'posts#archive', :as => 'archive_blog_posts' + get ':id/update_nav.js', :to => 'posts#update_nav', :as => 'update_blog_nav' end scope(:path => 'refinery', :as => 'admin', :module => 'admin') do -- cgit v1.2.3