diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index ad8d138..f3467bd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,5 @@ Refinery::Core::Engine.routes.draw do - namespace :blog do + namespace :blog, :path => Refinery::Blog.page_url do root :to => "posts#index" resources :posts, :only => [:show] @@ -12,7 +12,7 @@ Refinery::Core::Engine.routes.draw do namespace :blog, :path => '' do namespace :admin, :path => 'refinery' do - scope :path => 'blog' do + scope :path => Refinery::Blog.page_url do root :to => "posts#index" resources :posts do |