Skip to content

Commit

Permalink
Firstly, remove the catch all route from always being present.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt authored and radar committed Dec 8, 2011
1 parent 4eca4b2 commit 75c8926
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions core/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,18 +194,10 @@
post :testmail
end
end

end

match '/admin' => 'admin/orders#index', :as => :admin

match '/content/cvv' => 'content#cvv'

#RAILS3 TODO - we should disable this by default
#match '/:controller(/:action(/:id(.:format)))'

# a catchall route for "static" content (except paths with explicit extensions: .html, .ico, etc)
#if Spree::Config.instance && Spree::Config.get(:use_content_controller)
match '/*path' => 'content#show'
#end
end

0 comments on commit 75c8926

Please sign in to comment.