diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-26 09:34:20 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-26 09:34:20 -0800 |
commit | 6de4e4a622a98d86a44e9adf2fca15ff30c478c7 (patch) | |
tree | ee23be77aa44c2eccf3f9a93a3646efed764dccd | |
parent | 128012dba8737b0dc65d41a3eb1690c9d8797a34 (diff) | |
download | gitlab-ce-6de4e4a622a98d86a44e9adf2fca15ff30c478c7.tar.gz |
Include route helper shortcut in controller
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7940b5cb3f4..df1a588313e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -2,6 +2,7 @@ require 'gon' class ApplicationController < ActionController::Base include Gitlab::CurrentSettings + include GitlabRoutingHelper before_filter :authenticate_user_from_token! before_filter :authenticate_user! |