Let nested route works
This commit is contained in:
1 parent
66a462faa8
commit
9fa03db2c0
5 files changed
+22
-6
No files matched your search
+1
-1
@@ -56,7 +56,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
# Note: These default routes make all actions in every controller accessible via GET requests. You should
|
||||
# consider removing the them or commenting them out if you're using named routes and resources.
|
||||
|
||||
map.page ':page_name', :controller => 'pages', :action => 'show'
|
||||
map.page '*page_name', :controller => 'pages', :action => 'show'
|
||||
|
||||
#map.connect ':controller/:action/:id'
|
||||
#map.connect ':controller/:action/:id.:format'
|
||||
|
||||
Reference in new issue
Block a user