diff options
author | Philip Arndt <parndt@gmail.com> | 2012-01-09 10:38:26 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-01-17 16:56:23 +1300 |
commit | b3a25c1b686d205fc6b8b409a8f90059ae6b934d (patch) | |
tree | b0590a4c85422d000a22423114849fd1679392dd /config | |
parent | 2a2fcca64972bc2fb6a3530395366fb2ade42303 (diff) | |
download | refinerycms-blog-b3a25c1b686d205fc6b8b409a8f90059ae6b934d.tar.gz refinerycms-blog-b3a25c1b686d205fc6b8b409a8f90059ae6b934d.tar.bz2 refinerycms-blog-b3a25c1b686d205fc6b8b409a8f90059ae6b934d.zip |
Restructured part of the project to Refinery::Blog::Admin not Refinery::Admin::Blog
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 2ed6e8d..353d0b8 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,10 +8,8 @@ Rails.application.routes.draw do match ':id/comments', :to => 'posts#comment', :as => 'blog_post_blog_comments' get 'archive/:year(/:month)', :to => 'posts#archive', :as => 'archive_blog_posts' get 'tagged/:tag_id(/:tag_name)' => 'posts#tagged', :as => 'tagged_posts' - end - scope(:path => 'refinery', :as => 'refinery_admin', :module => 'admin') do - scope(:path => 'blog', :as => 'blog', :module => 'blog') do + scope(:path => 'refinery', :as => 'refinery_admin', :module => 'admin') do root :to => 'posts#index' resources :posts do collection do |