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. |
||
---|---|---|
.. | ||
application | ||
fixtures | ||
generators | ||
isolation | ||
railties | ||
abstract_unit.rb | ||
backtrace_cleaner_test.rb | ||
generators_test.rb | ||
initializable_test.rb | ||
paths_test.rb | ||
rails_info_controller_test.rb | ||
rails_info_test.rb | ||
script_rails_loader_test.rb |