gitlab-org--gitlab-foss/app/controllers/dashboard
blackst0ne eddf3febd7 [Rails5] Add `safe_params` helper
Rails 5.0 requires to explicitly permit attributes when building a URL
using current `params` object.

The `safe_params` helper allows developers to just call `safe_params.merge(...)`
instead of manually adding `permit` to every call.

https://github.com/rails/rails/pull/20868
2018-04-08 15:35:30 +11:00
..
application_controller.rb
groups_controller.rb
labels_controller.rb
milestones_controller.rb
projects_controller.rb
snippets_controller.rb
todos_controller.rb [Rails5] Add `safe_params` helper 2018-04-08 15:35:30 +11:00