diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 5653aac..1426f75 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,8 +6,8 @@ if Rails.version < '3.0.0' blog.post ':id', :controller => "posts", :action => 'show' 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', :on => :collection, :action => :archive, :as => 'archive' end @@ -45,7 +45,7 @@ else end scope(:path => 'refinery', :as => 'admin', :module => 'admin') do - scope(:path => 'blog', :name_prefix => 'admin', :as => 'blog', :module => 'blog') do + scope(:path => 'blog', :as => 'admin_blog', :module => 'blog') do root :to => 'posts#index' resources :posts |