Skip to content
Browse files

Move library requires to where they belong.

  • Loading branch information...
1 parent 751a40a commit 94b450189ad8798a30380dcc7100a61be8820f8f @parndt parndt committed
Showing with 5 additions and 3 deletions.
  1. +5 −1 app/models/refinery/inquiries/inquiry.rb
  2. +0 −2 lib/refinery/inquiries.rb
View
6 app/models/refinery/inquiries/inquiry.rb
@@ -1,3 +1,7 @@
+require 'refinery/core/base_model'
+require 'filters_spam'
+require 'acts_as_indexed'
+
module Refinery
module Inquiries
class Inquiry < Refinery::Core::BaseModel
@@ -24,4 +28,4 @@ def self.latest(number = 7, include_spam = false)
end
end
-end
+end
View
2 lib/refinery/inquiries.rb
@@ -1,7 +1,5 @@
require 'refinerycms-core'
require 'refinerycms-settings'
-require 'filters_spam'
-require 'acts_as_indexed'
module Refinery
autoload :InquiriesGenerator, 'generators/refinery/inquiries/inquiries_generator'

0 comments on commit 94b4501

Please sign in to comment.
Something went wrong with that request. Please try again.