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
1 changed files with 1 additions and 0 deletions

View File

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