diff options
author | Nick Thomas <nick@gitlab.com> | 2017-06-16 17:55:46 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-06-16 17:55:46 +0300 |
commit | 1463ae85a56d243561cd3a931479cc8c54e614d1 (patch) | |
tree | 1284557ab0c7ab5f86f14856cd58208edcaa5bcc /app/controllers | |
parent | 7421a8ff535e73aa8bfca675750cabaf5e9385f3 (diff) |
Fix export_csv functionality
5862fd138399f8ad1f0e042f09cca51e4ef781a5 introduced a change that caused the
`export_csv` controller action to try to load an issue from a missing :id
parameter.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb index 6ad0a18850b..4c2f414e376 100644 --- a/app/controllers/projects/issues_controller.rb +++ b/app/controllers/projects/issues_controller.rb @@ -10,7 +10,7 @@ class Projects::IssuesController < Projects::ApplicationController before_action :redirect_to_external_issue_tracker, only: [:index, :new] before_action :module_enabled - before_action :issue, except: [:index, :new, :create, :bulk_update] + before_action :issue, except: [:index, :new, :create, :bulk_update, :export_csv] # Allow write(create) issue before_action :authorize_create_issue!, only: [:new, :create] |