Sha256: a8520daf7a2e8d3637c977f3855bae85323fb230ef1016ecaa6b8287d67a2706
Contents?: true
Size: 404 Bytes
Versions: 2
Compression:
Stored size: 404 Bytes
Contents
class ActionController::Routing::RouteSet def load_routes_with_clearance! lib_path = File.dirname(__FILE__) clearance_routes = File.join(lib_path, *%w[.. .. .. config clearance_routes.rb]) unless configuration_files.include?(clearance_routes) add_configuration_file(clearance_routes) end load_routes_without_clearance! end alias_method_chain :load_routes!, :clearance end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
hui-clearance-0.6.6 | lib/clearance/extensions/routes.rb |
thoughtbot-clearance-0.6.7 | lib/clearance/extensions/routes.rb |