summaryrefslogtreecommitdiff
path: root/app/views/admin/runners
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-06-06 11:44:37 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-06-06 11:44:37 +1100
commit7136cf96e1a3ea48285bb6d6fbd2e680dd624b60 (patch)
tree679fabca38f3f462a54780bfbda7d10ccb556c57 /app/views/admin/runners
parenta34666e655347f66fab578a134b568e997b7902e (diff)
downloadgitlab-ce-7136cf96e1a3ea48285bb6d6fbd2e680dd624b60.tar.gz
[Rails5] Replace `params` with `safe_params` in app/views/admin/runners/index.html.haml
Diffstat (limited to 'app/views/admin/runners')
-rw-r--r--app/views/admin/runners/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/runners/index.html.haml b/app/views/admin/runners/index.html.haml
index f38aeb151df..8dfd176f1b7 100644
--- a/app/views/admin/runners/index.html.haml
+++ b/app/views/admin/runners/index.html.haml
@@ -67,7 +67,7 @@
%th Projects
%th Jobs
%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
- @runners.each do |runner|