lib/the_comments.rb in the_comments-2.0.1 vs lib/the_comments.rb in the_comments-2.1.0
- old
+ new
@@ -9,11 +9,11 @@
end
# Loading of concerns
# controllers
-require "../../app/controllers/concerns/controller"
+require File.expand_path('../../app/controllers/concerns/controller.rb', __FILE__)
# models
%w[ comment_states comment user commentable ].each do |concern|
- require "../../app/models/concerns/#{concern}"
+ require File.expand_path("../../app/models/concerns/#{concern}.rb", __FILE__)
end
\ No newline at end of file