Jay
09/13/2022, 8:55 AM/spree/demo/show
to something like
/demo
the routes looks like:
namespace :spree do
get 'demo/show'
end
elia
09/13/2022, 9:13 AMget "/demo", to: "spree/demo#show"
should do the job, but there are also options that you can provide to namespace which might better apply to you case, see e.g. https://api.rubyonrails.org/classes/ActionDispatch/Routing/Mapper/Scoping.html#method-i-namespaceJay
09/13/2022, 9:22 AM