Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps <info@camilstaps.nl>2019-01-25 23:53:00 +0300
committerCamil Staps <info@camilstaps.nl>2019-08-07 21:49:13 +0300
commit59976090b52d401dc4d23b726b2168186524f269 (patch)
tree503fb6f0563c866ea1776be3f5ad6bf88672ae92 /app/helpers/users_helper.rb
parent5b20df0a9276bc1250dc8b307adb161b24d9c255 (diff)
Add /starrers view for projects
Diffstat (limited to 'app/helpers/users_helper.rb')
-rw-r--r--app/helpers/users_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
index 73ca17c6605..23eafc12c38 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -108,4 +108,9 @@ module UsersHelper
items
end
+
+ def filter_user_path(options = {})
+ options = params.slice(:sort).merge(options).permit!
+ "#{request.path}?#{options.to_param}"
+ end
end