diff options
author | schneems <richard.schneeman@gmail.com> | 2012-12-27 00:12:51 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2012-12-27 00:12:55 -0500 |
commit | d5277b8c4e4f8fdbb922b46ae4462f087be63e85 (patch) | |
tree | ef59c76e787fe798a13c175375c3aac5f730c6b1 /actionpack | |
parent | 504ed9095810c40b0967802dfbdd347c7e3a4e89 (diff) | |
download | rails-d5277b8c4e4f8fdbb922b46ae4462f087be63e85.tar.gz rails-d5277b8c4e4f8fdbb922b46ae4462f087be63e85.tar.bz2 rails-d5277b8c4e4f8fdbb922b46ae4462f087be63e85.zip |
Ruby 1.9 style hash in Route Inspector
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/inspector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb index 8d7461ecc3..73b2b4ac1d 100644 --- a/actionpack/lib/action_dispatch/routing/inspector.rb +++ b/actionpack/lib/action_dispatch/routing/inspector.rb @@ -86,7 +86,7 @@ module ActionDispatch end.collect do |route| collect_engine_routes(route) - {:name => route.name, :verb => route.verb, :path => route.path, :reqs => route.reqs } + { name: route.name, verb: route.verb, path: route.path, reqs: route.reqs } end end |