Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Commit

Permalink
Mounting Refinery last in order to fix it.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Feb 14, 2012
1 parent 7be5e36 commit dece8fd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Spreefinery::Application.routes.draw do

# 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.
# 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 Refinery relies on it being the default of "refinery"
mount Refinery::Core::Engine, :at => '/'

# 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 => '/'

# 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.
# 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 Refinery relies on it being the default of "refinery"
mount Refinery::Core::Engine, :at => '/'

# The priority is based upon order of creation:
# first created -> highest priority.

Expand Down

0 comments on commit dece8fd

Please sign in to comment.