Project

General

Profile

Actions

Refactor #15720

closed

Replace *_filter in controllers with *_action

Added by Dominic Cleal over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Rails 5.0 deprecations the before/after_filter type helpers in controllers in favour of *_action replacements. The name simply needs changing.

Rubocop also provides a currently disabled cop to enforce the newer syntax that can be enabled.


Related issues 1 (0 open1 closed)

Related to Katello - Refactor #15722: rename *_filter to *_actionClosedDavid Davis07/18/2016Actions
Actions

Also available in: Atom PDF