aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJ. Edward Dewyea <jed@commuterdesign.com>2010-11-20 15:28:06 -0500
committerJ. Edward Dewyea <jed@commuterdesign.com>2010-11-20 15:28:06 -0500
commitaec8d69e3b831ed489a5284c0487171331b316a2 (patch)
tree45cfd4d810b191154fb66491b9ef491e728c0dc5 /config
parent178d782743347993cfd13f5d15af6d391b11dafc (diff)
downloadrefinerycms-blog-aec8d69e3b831ed489a5284c0487171331b316a2.tar.gz
refinerycms-blog-aec8d69e3b831ed489a5284c0487171331b316a2.tar.bz2
refinerycms-blog-aec8d69e3b831ed489a5284c0487171331b316a2.zip
:name_prefix has been deprecated
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
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