diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-11-03 16:09:38 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-11-17 20:10:13 +0300 |
commit | b3249bc28faecd1774558ec6f8ecc32f89c416ae (patch) | |
tree | 19d8321d4a18f1adc3776b5b7e51dd32fa4f5ff8 /app/controllers/projects/labels_controller.rb | |
parent | 4a29fde577a7d5d7c46ffff7c5feb79be23cdaa8 (diff) |
Use @project as default on ToggleSubscriptionAction concern
Diffstat (limited to 'app/controllers/projects/labels_controller.rb')
-rw-r--r-- | app/controllers/projects/labels_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/projects/labels_controller.rb b/app/controllers/projects/labels_controller.rb index a65adf13568..824ed7be73e 100644 --- a/app/controllers/projects/labels_controller.rb +++ b/app/controllers/projects/labels_controller.rb @@ -128,10 +128,6 @@ class Projects::LabelsController < Projects::ApplicationController @available_labels.find(params[:id]) end - def subscribable_project - @project - end - def find_labels @available_labels ||= LabelsFinder.new(current_user, project_id: @project.id).execute end |