diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-01-28 09:28:17 -0800 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-01-28 09:28:17 -0800 |
commit | 537cd66d7e4237f0df6db88b3225327c8e4140c5 (patch) | |
tree | b89a9b08cb9a7667e54187ce7f3ca6625ae881e5 /app/controllers/application_controller.rb | |
parent | 8eb365c0a04b912d2e10eb16adeeb4216563be2c (diff) | |
download | gitlab-ce-537cd66d7e4237f0df6db88b3225327c8e4140c5.tar.gz |
Add gitlab internal issue tracker service.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index ad13a0ac3e4..36e13706768 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -181,7 +181,7 @@ class ApplicationController < ActionController::Base end def add_gon_variables - gon.default_issues_tracker = Project.issues_tracker.default_value + gon.default_issues_tracker = Project.new.default_issue_tracker.to_param gon.api_version = API::API.version gon.relative_url_root = Gitlab.config.gitlab.relative_url_root gon.default_avatar_url = URI::join(Gitlab.config.gitlab.url, ActionController::Base.helpers.image_path('no_avatar.png')).to_s |