Browse files

Merge pull request #8627 from schneems/schneems/routes-1-9

Ruby 1.9 style hash in Route Inspector
  • Loading branch information...
2 parents b821094 + d5277b8 commit 2283a1d62e36bc7787a01e87a5d2a018e83da22c @rafaelfranca rafaelfranca committed Dec 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/inspector.rb
View
2 actionpack/lib/action_dispatch/routing/inspector.rb
@@ -86,7 +86,7 @@ def collect_routes(routes)
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

0 comments on commit 2283a1d

Please sign in to comment.