diff options
author | Tap <visibletrap@gmail.com> | 2016-02-17 16:52:12 +0300 |
---|---|---|
committer | Tap <visibletrap@gmail.com> | 2016-02-17 16:52:12 +0300 |
commit | 2e81b1558bb02da5eacd24484a665a48e8a1cece (patch) | |
tree | 9843854846e2616075d7dbcaf0ca1527cb7de9a4 /app/controllers/concerns/issues_action.rb | |
parent | 943bed68bc42d02246ddea63a25432d3aba709e7 (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.rb | 2 |
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 } |