1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib
Piotr Sarnacki 28cd098d99 Correctly display rack apps with dynamic constraints in RoutesInspector
If you used dynamic constraint like that:

  scope :constraint => MyConstraint.new do
    mount RackApp => "/foo"
  end

routes were not displayed correctly when using `rake routes`.
This commit fixes it. If you want nice display of dynamic
constraints in `rake routes` output, please just override
to_s method in your constraint's class.
2011-12-26 11:41:45 +01:00
..
rails Correctly display rack apps with dynamic constraints in RoutesInspector 2011-12-26 11:41:45 +01:00
rails.rb Get rid of more 1.8.x dead code 2011-12-20 17:59:26 +01:00