Closed gmacdougall closed 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
This seems reasonable to me.
This looks good, @gmacdougall - could you please also add a small CHANGELOG entry for this change?
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: