From d5277b8c4e4f8fdbb922b46ae4462f087be63e85 Mon Sep 17 00:00:00 2001 From: schneems Date: Thu, 27 Dec 2012 00:12:51 -0500 Subject: Ruby 1.9 style hash in Route Inspector --- actionpack/lib/action_dispatch/routing/inspector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') 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 -- cgit v1.2.3