Skip to content

Commit

Permalink
Merge feb3960 into 34f90f8
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Nov 19, 2023
2 parents 34f90f8 + feb3960 commit 2b3e213
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#### Fixes

* [#2370](https://github.com/ruby-grape/grape/pull/2370): Stop method_missing to_ary - [@ericproulx](https://github.com/ericproulx).
* [#2372](https://github.com/ruby-grape/grape/pull/2372): Fix `declared` method for hash params with overlapping names - [@jcagarcia](https://github.com/jcagarcia).
* Your contribution here.

Expand Down
4 changes: 4 additions & 0 deletions lib/grape/router/route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def warn_route_methods(name, location, expected = nil)
expected ||= name
Grape.deprecator.warn("#{path}:#{line}: The route_xxx methods such as route_#{name} have been deprecated, please use #{expected}.")
end

def to_ary
nil
end
end
end
end

0 comments on commit 2b3e213

Please sign in to comment.