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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-23 19:49:39 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-23 19:49:39 +0300
commit47634e392fab457dd0634225961944804bc04efe (patch)
tree8d70528e0a9a1d18264e9937c10054d5507462a0 /app/helpers/dashboard_helper.rb
parent32eb5de510a7e32d9bb886595aa47d95dc00490f (diff)
Refactor issues and merge requests lists
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers/dashboard_helper.rb')
-rw-r--r--app/helpers/dashboard_helper.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/helpers/dashboard_helper.rb b/app/helpers/dashboard_helper.rb
index acc0eeb76b3..976a396e7b6 100644
--- a/app/helpers/dashboard_helper.rb
+++ b/app/helpers/dashboard_helper.rb
@@ -1,18 +1,4 @@
module DashboardHelper
- def filter_path(entity, options={})
- exist_opts = {
- state: params[:state],
- scope: params[:scope],
- project_id: params[:project_id],
- }
-
- options = exist_opts.merge(options)
-
- path = request.path
- path << "?#{options.to_param}"
- path
- end
-
def entities_per_project(project, entity)
case entity.to_sym
when :issue then @issues.where(project_id: project.id)