Project

General

Profile

Actions

Refactor #22324

closed

Use parameter filter in API controllers

Added by Ondřej Pražák almost 7 years ago. Updated over 6 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

Also available in: Atom PDF