aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators.rb
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2012-12-15 11:36:26 -0600
committerschneems <richard.schneeman@gmail.com>2012-12-17 12:41:54 -0600
commit8a59b873749a88b0f4ed9b80bc3237c88313302c (patch)
tree797fb13b285873e27f0cb47caab726c6ea635a98 /railties/lib/rails/generators.rb
parent8832313ebb80a3d671a7af7dedf613cfd3ca4d76 (diff)
downloadrails-8a59b873749a88b0f4ed9b80bc3237c88313302c.tar.gz
rails-8a59b873749a88b0f4ed9b80bc3237c88313302c.tar.bz2
rails-8a59b873749a88b0f4ed9b80bc3237c88313302c.zip
HTML formatting to Rails::InfoController#routes
This PR adds formatting and meta-data to the display of the internal routes. Users can now toggle between showing helpers with the `_path` or _`url` suffix. There are multiple ways to achieve this, this method uses partials for formatting and meta-data. The partials can be re-used when rendering `routing_error.erb`, though that will need to be in a separate PR. ![](http://f.cl.ly/items/3A2p3c1T1t2f2X2R2K2S/Screen%20Shot%202012-12-12%20at%202.28.01%20PM.png) ATP Railties
Diffstat (limited to 'railties/lib/rails/generators.rb')
0 files changed, 0 insertions, 0 deletions