Sha256: 34e66b1e7f2c98656d8b4131b5f54f133659691859991519b1e87317dc160e55
Contents?: true
Size: 469 Bytes
Versions: 23
Compression:
Stored size: 469 Bytes
Contents
if defined?(ActionController::Routing::RouteSet) class ActionController::Routing::RouteSet def load_routes_with_kitsune! lib_path = File.dirname(__FILE__) kitsune_routes = File.join(lib_path, *%w[.. .. .. config kitsune_routes.rb]) unless configuration_files.include?(kitsune_routes) add_configuration_file(kitsune_routes) end load_routes_without_kitsune! end alias_method_chain :load_routes!, :kitsune end end
Version data entries
23 entries across 23 versions & 1 rubygems