Skip to content

Commit

Permalink
Remove ugly namespace from controller
Browse files Browse the repository at this point in the history
  • Loading branch information
iain committed Jul 19, 2009
1 parent aabeaec commit 00fca2f
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 2 additions & 4 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
ActionController::Routing::Routes.draw do |map|
map.namespace :root_table do |root_table|
root_table.resources :tables, :only => :index do |r|
r.resources :manage, :collection => {:sort => :post}
end
map.resources :root_tables, :only => :index do |p|
p.resources :manage, :collection => {:sort => :post}
end
end

0 comments on commit 00fca2f

Please sign in to comment.