Skip to content

Commit ece1830

Browse files
author
Michael Bleigh
committed
Use 1.8.7 hash syntax.
1 parent 67efd57 commit ece1830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def mount(mounts)
211211
mounts.each_pair do |app, path|
212212
next unless app.respond_to?(:call)
213213
route_set.add_route(app,
214-
path_info: compile_path(path, false)
214+
:path_info => compile_path(path, false)
215215
)
216216
end
217217
end

0 commit comments

Comments
 (0)