You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.
Ran into a lot of confusion when trying to walk somebody through how to do simple controller decorator in their stand alone application (NOTE: not an extension) w/Spree.
mount Spree::Core::Engine, :at => '/'
Spree::Core::Engine.routes.prepend do
namespace :admin do
get '/products/import' => "products#import", :as => :products_import
end
end
which was unexpected. We should document the prepend/append stuff for when adding routes to spree namespace.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ran into a lot of confusion when trying to walk somebody through how to do simple controller decorator in their stand alone application (NOTE: not an extension) w/Spree.
https://gist.github.com/schof/5560963
Needed to do something like:
which was unexpected. We should document the prepend/append stuff for when adding routes to spree namespace.
The text was updated successfully, but these errors were encountered: