blob: 84de3e44c70c8c3ea28f26ddc7f7748783db6304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module Gitlab
module ChatCommands
class IssueCommand < BaseCommand
def self.available?(project)
project.issues_enabled? && project.default_issues_tracker?
end
def collection
IssuesFinder.new(current_user, project_id: project.id).execute
end
end
end
end
|