summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-04-14 05:28:46 -0700
committerStan Hu <stanhu@gmail.com>2016-04-14 07:25:27 -0700
commite450892f5688529b8a49e3ae7598f00dbdda7161 (patch)
treec146f3c3bd314bb625c24b9dc4bfaa0ac6c6efeb /app/controllers
parentc7e384aab23301ad0ee3559252324fa957d15db3 (diff)
downloadgitlab-ce-e450892f5688529b8a49e3ae7598f00dbdda7161.tar.gz
Include GonHelper separately and remove created_at in factory
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/application_controller.rb1
-rw-r--r--app/controllers/oauth/applications_controller.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index bdf2dd68531..ce5c84ee9bc 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -3,6 +3,7 @@ require 'fogbugz'
class ApplicationController < ActionController::Base
include Gitlab::CurrentSettings
+ include Gitlab::GonHelper
include GitlabRoutingHelper
include PageLayoutHelper
diff --git a/app/controllers/oauth/applications_controller.rb b/app/controllers/oauth/applications_controller.rb
index 377fef65a92..c6bdd0602c1 100644
--- a/app/controllers/oauth/applications_controller.rb
+++ b/app/controllers/oauth/applications_controller.rb
@@ -1,5 +1,6 @@
class Oauth::ApplicationsController < Doorkeeper::ApplicationsController
include Gitlab::CurrentSettings
+ include Gitlab::GonHelper
include PageLayoutHelper
before_action :verify_user_oauth_applications_enabled