Commit 6de4e4a6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Include route helper shortcut in controller

parent 128012db
...@@ -2,6 +2,7 @@ require 'gon' ...@@ -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!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment