1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
Ryuta Kamizono 81d90d81d0 Allow both current_page?(url_hash) and current_page?(**url_hash) on Ruby 2.7
Keyword argument warnings are caused by #41206 to allow both
`current_page?(url_hash)` and `current_page?(**url_hash)` on Ruby 3.0.

Unfortunately it is super hard to support that for both Ruby 2.7 and 3.0
with the same method signature.

Closes #41710.
2021-03-22 10:57:45 +09:00
..
action_view Allow both current_page?(url_hash) and current_page?(**url_hash) on Ruby 2.7 2021-03-22 10:57:45 +09:00
action_view.rb Bump license years to 2021 [ci skip] 2021-01-01 12:21:20 +09:00