Skip to content

Commit 002f15b

Browse files
ericproulxCopilot
andauthored
Update spec/grape/dsl/inside_route_spec.rb
Co-authored-by: Copilot <[email protected]>
1 parent de26cad commit 002f15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/grape/dsl/inside_route_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def namespace_inheritable_hash
5454
end
5555

5656
def namespace_stackable_hash
57-
@namespace_stackable_hash ||= Hash.new { [] }
57+
@namespace_stackable_hash ||= Hash.new { |h, k| h[k] = [] }
5858
end
5959

6060
def namespace_stackable_with_hash_hash

0 commit comments

Comments
 (0)