diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-06-25 14:30:57 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-06-30 11:44:30 +0400 |
commit | aaba993352d65ad645215083cd6a4a46006f4b32 (patch) | |
tree | a871d7ef68adc7f03950de5c7e5ef66de5875ae9 /app/helpers/groups_helper.rb | |
parent | ca6fd8841e3bf1d6db9370fd7aa7934b320550e4 (diff) |
Skeleton of the group milestone index page.
Diffstat (limited to 'app/helpers/groups_helper.rb')
-rw-r--r-- | app/helpers/groups_helper.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index cfc9a572cac..0762a6925b3 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -31,6 +31,18 @@ module GroupsHelper end title + end + + def group_filter_path(entity, options={}) + exist_opts = { + state: params[:state], + scope: params[:scope] + } + + options = exist_opts.merge(options) + path = request.path + path << "?#{options.to_param}" + path end end |