Sha256: 0e2f4879435f6b4dced8f6b71292f7971c6d6a6a6d261a12d2d8facfdfbba1fb

Contents?: true

Size: 389 Bytes

Versions: 21

Compression:

Stored size: 389 Bytes

Contents

class ActionController::Routing::RouteSet
  def load_routes_with_muck_profiles!
    muck_profiles_routes = File.join(File.dirname(__FILE__), *%w[.. .. config muck_profiles_routes.rb])
    add_configuration_file(muck_profiles_routes) unless configuration_files.include? muck_profiles_routes
    load_routes_without_muck_profiles!
  end
  alias_method_chain :load_routes!, :muck_profiles
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
muck-profiles-0.2.1 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.2.0 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.18 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.17 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.16 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.15 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.14 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.13 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.12 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.11 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.10 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.7 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.8 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.9 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.0 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.1 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.2 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.3 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.4 lib/muck_profiles/initialize_routes.rb
muck-profiles-0.1.5 lib/muck_profiles/initialize_routes.rb