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
Carlos Antonio da Silva 3875e07f3c Simplify formmethod checks on button_to for non-GET/POST handling
* Check for the presence of `formmethod` first before checking against
  the GET/POST verbs;
* Use `match?` to avoid creating unnecessary match objects;
* Remove capture groups from the verb regexp.
2021-02-22 10:08:48 -03:00
..
action_view Simplify formmethod checks on button_to for non-GET/POST handling 2021-02-22 10:08:48 -03:00
action_view.rb Bump license years to 2021 [ci skip] 2021-01-01 12:21:20 +09:00