diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2011-12-26 11:31:22 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2011-12-26 11:54:27 +0100 |
commit | d7cfb636367f2f929d07ade9060d35a2cf7ad20b (patch) | |
tree | 7a59f0e134e73e9ce882cbef389d4387315986ac /actionmailer/MIT-LICENSE | |
parent | 4cf40d04e4193494b4854c771f78a105aeee8e76 (diff) | |
download | rails-d7cfb636367f2f929d07ade9060d35a2cf7ad20b.tar.gz rails-d7cfb636367f2f929d07ade9060d35a2cf7ad20b.tar.bz2 rails-d7cfb636367f2f929d07ade9060d35a2cf7ad20b.zip |
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.
Diffstat (limited to 'actionmailer/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions