summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2014-07-29 17:41:55 +0200
committerJeremy <jeremy.benoist@gmail.com>2015-02-02 09:59:42 +0100
commitb4d9ceb26fc4bd9125cdbd6796a618415d8f6af7 (patch)
treeed9c2430731e411e67bb2dbe4679d30cfe3a5504 /app/models/project.rb
parentc47328948b5fff218c68279260a57ab6b03e7423 (diff)
downloadgitlab-ce-b4d9ceb26fc4bd9125cdbd6796a618415d8f6af7.tar.gz
Add Asana service
Also add ability to render "service.help" in markdown
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index b26c697a7b7..8c6fbfd66ac 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -68,6 +68,7 @@ class Project < ActiveRecord::Base
has_one :hipchat_service, dependent: :destroy
has_one :flowdock_service, dependent: :destroy
has_one :assembla_service, dependent: :destroy
+ has_one :asana_service, dependent: :destroy
has_one :gemnasium_service, dependent: :destroy
has_one :slack_service, dependent: :destroy
has_one :buildbox_service, dependent: :destroy
@@ -359,7 +360,7 @@ class Project < ActiveRecord::Base
end
def available_services_names
- %w(gitlab_ci campfire hipchat pivotaltracker flowdock assembla
+ %w(gitlab_ci campfire hipchat pivotaltracker flowdock assembla asana
emails_on_push gemnasium slack pushover buildbox bamboo teamcity jira redmine custom_issue_tracker)
end