Sha256: 7ef38971d7a065308eaa6e4676f41908f76c7e7e2ca32b656405ea7b8de527f8

Contents?: true

Size: 237 Bytes

Versions: 33

Compression:

Stored size: 237 Bytes

Contents

Spree::Core::Engine.add_routes do
  get '/forbidden', to: 'home#forbidden', as: :forbidden
  # those routes are needed for mailers
  root to: 'home#index'
  resources :products, only: [:index, :show]
end

Spree::Core::Engine.draw_routes

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
spree_core-3.2.0 config/routes.rb
spree_core-3.1.4 config/routes.rb
spree_core-3.2.0.rc3 config/routes.rb
spree_core-3.2.0.rc2 config/routes.rb
spree_core-3.2.0.rc1 config/routes.rb
spree_core-3.1.3 config/routes.rb
spree_core-3.1.2 config/routes.rb
spree_core-3.1.1 config/routes.rb
spree_core-3.1.0 config/routes.rb
spree_core-3.1.0.rc4 config/routes.rb
spree_core-3.1.0.rc3 config/routes.rb
spree_core-3.1.0.rc2 config/routes.rb
spree_core-3.1.0.rc1 config/routes.rb