Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ruby 1.9 style hash in Route Inspector

  • Loading branch information...
commit d5277b8c4e4f8fdbb922b46ae4462f087be63e85 1 parent 504ed90
@schneems schneems authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.