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:
authorTap <visibletrap@gmail.com>2016-02-17 16:52:12 +0300
committerTap <visibletrap@gmail.com>2016-02-17 16:52:12 +0300
commit2e81b1558bb02da5eacd24484a665a48e8a1cece (patch)
tree9843854846e2616075d7dbcaf0ca1527cb7de9a4 /app/controllers/concerns/issues_action.rb
parent943bed68bc42d02246ddea63a25432d3aba709e7 (diff)
Label description and Label row
- Add label description - Show label row when filtering issues or merge requests by label
Diffstat (limited to 'app/controllers/concerns/issues_action.rb')
-rw-r--r--app/controllers/concerns/issues_action.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/issues_action.rb b/app/controllers/concerns/issues_action.rb
index effd4721949..91b58c47dd9 100644
--- a/app/controllers/concerns/issues_action.rb
+++ b/app/controllers/concerns/issues_action.rb
@@ -6,6 +6,8 @@ module IssuesAction
@issues = @issues.page(params[:page]).per(ApplicationController::PER_PAGE)
@issues = @issues.preload(:author, :project)
+ @label = Label.where(project: @projects).find_by(title: params[:label_name])
+
respond_to do |format|
format.html
format.atom { render layout: false }