mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
28cd098d99
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. |
||
---|---|---|
.. | ||
rails | ||
rails.rb |