Project

General

Profile

Actions

Refactor #15720

closed

Replace *_filter in controllers with *_action

Added by Dominic Cleal over 7 years ago. Updated over 5 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 #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3657 added
Actions #2

Updated by David Davis over 7 years ago

Actions #3

Updated by Dominic Cleal over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 160
Actions

Also available in: Atom PDF