Skip to content

Commit 369445c

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#### Features
44

5+
* [#2574](https://github.com/ruby-grape/grape/pull/2574) Reduce ActiveSupport::Concern usage - [@ericproulx](https://github.com/ericproulx).
56
* Your contribution here.
67

78
#### Fixes

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)