lib/stache/railtie.rb in stache-1.0.1 vs lib/stache/railtie.rb in stache-1.0.2
- old
+ new
@@ -1,8 +1,8 @@
module Stache
class Railtie < ::Rails::Railtie
initializer 'stache.autoload', :before => :set_autoload_paths do |app|
- app.config.autoload_paths << Rails.root + 'app/views'
+ app.config.autoload_paths << (Rails.root + 'app/views').to_s
end
config.to_prepare do
ApplicationController.send(:append_view_path, Stache.template_base_path)
end