diff options
author | Stan Hu <stanhu@gmail.com> | 2016-04-14 15:28:46 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-04-14 17:25:27 +0300 |
commit | e450892f5688529b8a49e3ae7598f00dbdda7161 (patch) | |
tree | c146f3c3bd314bb625c24b9dc4bfaa0ac6c6efeb /app/controllers | |
parent | c7e384aab23301ad0ee3559252324fa957d15db3 (diff) |
Include GonHelper separately and remove created_at in factory
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/application_controller.rb | 1 | ||||
-rw-r--r-- | app/controllers/oauth/applications_controller.rb | 1 |
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 |