Sha256: 7b4067550b4649907c99701639887eab267978a171fad0e1a0d5d7603b66c96c

Contents?: true

Size: 391 Bytes

Versions: 24

Compression:

Stored size: 391 Bytes

Contents

if defined?(ActionController::Routing::RouteSet)

  class ActionController::Routing::RouteSet

    def load_routes_with_typus!
      typus_routes = File.join(File.dirname(__FILE__), 'routes_hack.rb')
      add_configuration_file(typus_routes) unless configuration_files.include?(typus_routes)
      load_routes_without_typus!
    end

    alias_method_chain :load_routes!, :typus

  end

end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.17 lib/typus/extensions/routes.rb
typus-0.9.39 lib/typus/extensions/routes.rb
typus-0.9.38 lib/typus/extensions/routes.rb
typus-0.9.37 lib/typus/extensions/routes.rb
typus-0.9.36 lib/typus/extensions/routes.rb
typus-0.9.35 lib/typus/extensions/routes.rb
typus-0.9.34 lib/typus/extensions/routes.rb
typus-0.9.33 lib/typus/extensions/routes.rb
typus-0.9.32 lib/typus/extensions/routes.rb
typus-0.9.31 lib/typus/extensions/routes.rb
typus-0.9.30 lib/typus/extensions/routes.rb
typus-0.9.29 lib/typus/extensions/routes.rb
typus-0.9.28 lib/typus/extensions/routes.rb
typus-0.9.27 lib/typus/extensions/routes.rb
typus-0.9.26 lib/typus/extensions/routes.rb
typus-0.9.25 lib/typus/extensions/routes.rb
typus-0.9.24 lib/typus/extensions/routes.rb
typus-0.9.23 lib/typus/extensions/routes.rb
typus-0.9.22 lib/typus/extensions/routes.rb
typus-0.9.21 lib/typus/extensions/routes.rb