Sha256: c690341be57db82005c6beda6d598b842d00d2fec4b72c4a64f2e57243b89936
Contents?: true
Size: 480 Bytes
Versions: 18
Compression:
Stored size: 480 Bytes
Contents
if defined?(ActionController::Routing::RouteSet) 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 end
Version data entries
18 entries across 18 versions & 5 rubygems