Epic: Gitlab configuration with default values

This commit is contained in:
Dmitriy Zaporozhets 2012-07-02 21:51:48 +03:00
parent b3a0ee8e63
commit 9b337b8328
25 changed files with 147 additions and 45 deletions

View file

@ -113,7 +113,7 @@ class Project < ActiveRecord::Base
end
def web_url
[GIT_HOST['host'], code].join("/")
[Gitlab.config.url, code].join("/")
end
def common_notes