config/routes.rb in alchemy_spree-0.1.5 vs config/routes.rb in alchemy_spree-0.2.0
- old
+ new
@@ -1,3 +1,3 @@
-AlchemySpree::Engine.routes.draw do
- match 'admin/spree' => 'alchemy/admin/spree#index', :as => :spree_admin
-end
\ No newline at end of file
+Alchemy::Engine.routes.prepend do
+ get '/admin/spree' => 'admin/spree#index', :as => :spree_admin
+end