Permalink
Browse files

Mount both engines at root, use Refinery for homepage

  • Loading branch information...
1 parent 68b7291 commit f58a28a92885eeede0f87093587552f198fb385e @amacneil committed Aug 30, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 config/routes.rb
View
@@ -1,11 +1,13 @@
RefinerySpree::Application.routes.draw do
+ root :to => "refinery/pages#home"
+
# This line mounts Spree's routes at the root of your application.
# This means, any requests to URLs such as /products, will go to Spree::ProductsController.
# If you would like to change where this engine is mounted, simply change the :at option to something different.
#
# We ask that you don't use the :as option here, as Spree relies on it being the default of "spree"
- mount Spree::Core::Engine, :at => '/spree'
+ mount Spree::Core::Engine, :at => '/'
# This line mounts Refinery's routes at the root of your application.
# This means, any requests to the root URL of your application will go to Refinery::PagesController#home.

0 comments on commit f58a28a

Please sign in to comment.