Include route helper shortcut in controller
This commit is contained in:
parent
128012dba8
commit
6de4e4a622
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ require 'gon'
|
||||||
|
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include Gitlab::CurrentSettings
|
include Gitlab::CurrentSettings
|
||||||
|
include GitlabRoutingHelper
|
||||||
|
|
||||||
before_filter :authenticate_user_from_token!
|
before_filter :authenticate_user_from_token!
|
||||||
before_filter :authenticate_user!
|
before_filter :authenticate_user!
|
||||||
|
|
Loading…
Reference in a new issue