Permalink
Browse files

Ruby 1.9 style hash in Route Inspector

  • Loading branch information...
1 parent 504ed90 commit d5277b8c4e4f8fdbb922b46ae4462f087be63e85 @schneems schneems committed Dec 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 d5277b8

Please sign in to comment.