Sha256: 46d0abd7dbd805f96e023b10d850efa9ac227be81bf387586cbafa5a63f70d4c
Contents?: true
Size: 398 Bytes
Versions: 2
Compression:
Stored size: 398 Bytes
Contents
class ActionController::Routing::RouteSet def load_routes_with_watchtower! lib_path = File.dirname(__FILE__) custom_routes = File.join(lib_path, *%w[.. .. config watchtower_routes.rb]) unless configuration_files.include?(custom_routes) add_configuration_file(custom_routes) end load_routes_without_watchtower! end alias_method_chain :load_routes!, :watchtower end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joshuaclayton-watchtower-0.1.3 | lib/watchtower/routes.rb |
joshuaclayton-watchtower-0.1.4 | lib/watchtower/routes.rb |