Include route helper shortcut in controller

This commit is contained in:
Dmitriy Zaporozhets 2015-02-26 09:34:20 -08:00
parent 128012dba8
commit 6de4e4a622

View file

@ -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!