Sha256: 0739245d09066c4fb507f3b62d281aacae290f079d644226c5d1dfdec2d2c5d6

Contents?: true

Size: 332 Bytes

Versions: 22

Compression:

Stored size: 332 Bytes

Contents

ActionController::Routing::Routes.draw do |map|

  begin
    ActionController::Routing::Routes.recognize_path '/admin/typus_users'
  rescue
    map.connect ':controller/:action/:id'
  end

  begin
    ActionController::Routing::Routes.recognize_path '/admin/typus_users.csv'
  rescue
    map.connect ':controller.:format'
  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

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