lib/impartial-rails/railtie.rb in impartial-rails-0.0.1 vs lib/impartial-rails/railtie.rb in impartial-rails-0.0.2
- old
+ new
@@ -5,9 +5,10 @@
module Rails
class Railtie < ::Rails::Railtie
initializer 'impartial.autoload', :before => :set_autoload_paths do |app|
app.config.autoload_paths << ::Rails.root.join('app', 'impartials')
+ app.config.assets.paths << Rails.root.join('app', 'impartials')
end
initializer 'impartial.paths' do |app|
Impartial.configure do |config|
config.paths = [::Rails.root.join('app', 'impartials')]