solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 121 forks source link

Loading of routes can be disabled through config #71

Closed gmacdougall closed 8 years ago

gmacdougall commented 8 years ago

In some cases, users may wish to override the default routing, or disable routing entirely for certain endpoints.

This provides configuration options to disable loading those routes even if the module itself is loaded. This can be setup as follows:

Spree::Auth::Config.configure do |config|
  config.draw_backend_routes = false
  config.draw_frontend_routes = false
end
bbuchalter commented 8 years ago

This seems reasonable to me.

stewart commented 8 years ago

This looks good, @gmacdougall - could you please also add a small CHANGELOG entry for this change?