]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unnecessary requires from app
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Feb 2019 11:25:43 +0000 (12:25 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Feb 2019 11:26:30 +0000 (12:26 +0100)
app/controllers/oauth_controller.rb
app/models/client_application.rb
app/models/concerns/geo_record.rb

index 0954071a56f0405517b205818468e834041b4fb9..225fc0677a39b3fcd7951c7e7d8b5be56fabb62f 100644 (file)
@@ -1,5 +1,3 @@
-require "oauth/controllers/provider_controller"
-
 class OauthController < ApplicationController
   include OAuth::Controllers::ProviderController
 
index d11942beb6434e7c393db40ad3cfd5f3c3c4849b..5dafaaa5c7afefd4097e30f0d3f7283245dacf92 100644 (file)
@@ -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
index dbda2960f65ce6ad72d7eaf996b9bbee76fc57e0..91533ece438f89fd9cf8440bfd5400d84ad9addf 100644 (file)
@@ -1,5 +1,3 @@
-require "delegate"
-
 module GeoRecord
   extend ActiveSupport::Concern