Sha256: fac31ec2cd2ee9dd38b4783c0f34bef07c96326840af2867ce72fc27037a7e27
Contents?: true
Size: 304 Bytes
Versions: 3
Compression:
Stored size: 304 Bytes
Contents
module Stache class Railtie < ::Rails::Railtie initializer 'stache.autoload', :before => :set_autoload_paths do |app| app.config.autoload_paths << Rails.root + 'app/views' end config.to_prepare do ApplicationController.send(:append_view_path, 'app/templates') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
stache-0.2.1 | lib/stache/railtie.rb |
stache-0.2.0 | lib/stache/railtie.rb |
stache-0.1.0 | lib/stache/railtie.rb |