-
- Downloads
There was an error fetching the commit references. Please try again later.
Rewrite `if:` argument in before_action and alike when `only:` is also used
Closes #55564 This is first discovered in #54739 (comment 122609857) that if both if: and only: are used in a before_action or after_action or alike, if: is completely ignored.
Showing
- app/controllers/projects/snippets_controller.rb 2 additions, 1 deletionapp/controllers/projects/snippets_controller.rb
- app/controllers/projects/wikis_controller.rb 2 additions, 1 deletionapp/controllers/projects/wikis_controller.rb
- app/controllers/projects_controller.rb 5 additions, 3 deletionsapp/controllers/projects_controller.rb
- app/controllers/registrations_controller.rb 1 addition, 2 deletionsapp/controllers/registrations_controller.rb
- app/controllers/sessions_controller.rb 3 additions, 4 deletionsapp/controllers/sessions_controller.rb
- app/controllers/snippets_controller.rb 2 additions, 1 deletionapp/controllers/snippets_controller.rb
- changelogs/unreleased/55564-remove-if-in-before-after-action.yml 5 additions, 0 deletions...ogs/unreleased/55564-remove-if-in-before-after-action.yml
Please register or sign in to comment