From c4a192f43692964fbc4c20c67930f16393a18028 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 6 Feb 2019 12:25:43 +0100 Subject: [PATCH] Remove unnecessary requires from app --- app/controllers/oauth_controller.rb | 2 -- app/models/client_application.rb | 2 -- app/models/concerns/geo_record.rb | 2 -- 3 files changed, 6 deletions(-) diff --git a/app/controllers/oauth_controller.rb b/app/controllers/oauth_controller.rb index 0954071a5..225fc0677 100644 --- a/app/controllers/oauth_controller.rb +++ b/app/controllers/oauth_controller.rb @@ -1,5 +1,3 @@ -require "oauth/controllers/provider_controller" - class OauthController < ApplicationController include OAuth::Controllers::ProviderController diff --git a/app/models/client_application.rb b/app/models/client_application.rb index d11942beb..5dafaaa5c 100644 --- a/app/models/client_application.rb +++ b/app/models/client_application.rb @@ -30,8 +30,6 @@ # client_applications_user_id_fkey (user_id => users.id) # -require "oauth" - class ClientApplication < ActiveRecord::Base belongs_to :user has_many :tokens, :class_name => "OauthToken", :dependent => :delete_all diff --git a/app/models/concerns/geo_record.rb b/app/models/concerns/geo_record.rb index dbda2960f..91533ece4 100644 --- a/app/models/concerns/geo_record.rb +++ b/app/models/concerns/geo_record.rb @@ -1,5 +1,3 @@ -require "delegate" - module GeoRecord extend ActiveSupport::Concern -- 2.39.5