lib/avrolution/railtie.rb in avrolution-0.6.1 vs lib/avrolution/railtie.rb in avrolution-0.7.0
- old
+ new
@@ -1,14 +1,16 @@
+# frozen_string_literal: true
+
module Avrolution
class Railtie < Rails::Railtie
initializer 'avrolution.configure' do
Avrolution.configure do |config|
config.root = Rails.root
end
end
rake_tasks do
- load File.expand_path('../rake/rails_avrolution.rake', __FILE__)
+ load File.expand_path('rake/rails_avrolution.rake', __dir__)
end
end
end