Project

General

Profile

Actions

Refactor #22324

closed

Use parameter filter in API controllers

Added by Ondřej Pražák about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In a controller, we currently pass the attributes we need from params hash manually one by one. We should use parameter filter to permit parameters and pass them to methods.

Actions #1

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_templates/pull/75 added
Actions #2

Updated by Marek Hulán almost 6 years ago

  • translation missing: en.field_release set to 264
Actions #3

Updated by Anonymous almost 6 years ago

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

Also available in: Atom PDF