Commit 7136cf96 authored by blackst0ne's avatar blackst0ne

[Rails5] Replace `params` with `safe_params` in app/views/admin/runners/index.html.haml

parent a34666e6
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
%th Projects %th Projects
%th Jobs %th Jobs
%th Tags %th Tags
%th= link_to 'Last contact', admin_runners_path(params.slice(:search).merge(sort: 'contacted_asc')) %th= link_to 'Last contact', admin_runners_path(safe_params.slice(:search).merge(sort: 'contacted_asc'))
%th %th
- @runners.each do |runner| - @runners.each do |runner|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment