diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-16 12:06:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-16 12:06:25 +0300 |
commit | d8211a0ed119eada7d292e974a8fc7b0cd982d3c (patch) | |
tree | a14bfca83dd6b71144959d7e7a6d058f5d8922a5 /app/controllers/projects/issues_controller.rb | |
parent | edd042071d1b5e6f494881dc2d9c39b46e42f74b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/projects/issues_controller.rb')
-rw-r--r-- | app/controllers/projects/issues_controller.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb index 9cdd6288000..a3dcb36aa3b 100644 --- a/app/controllers/projects/issues_controller.rb +++ b/app/controllers/projects/issues_controller.rb @@ -21,7 +21,8 @@ class Projects::IssuesController < Projects::ApplicationController prepend_before_action(only: [:index]) { authenticate_sessionless_user!(:rss) } prepend_before_action(only: [:calendar]) { authenticate_sessionless_user!(:ics) } prepend_before_action :authenticate_user!, only: [:new] - prepend_before_action :store_uri, only: [:new, :show] + # designs is only applicable to EE, but defining a prepend_before_action in EE code would overwrite this + prepend_before_action :store_uri, only: [:new, :show, :designs] before_action :whitelist_query_limiting, only: [:create, :create_merge_request, :move, :bulk_update] before_action :check_issues_available! @@ -43,6 +44,8 @@ class Projects::IssuesController < Projects::ApplicationController respond_to :html + alias_method :designs, :show + def index @issues = @issuables |