Sha256: 5522a6bf294172bd1905ff21732cd0e142daeef89af47f769d1abcc344ce6a8e
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 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, Stache.template_base_path) end initializer 'stache.extend_action_controller_base' do ActiveSupport.on_load(:action_controller) do Stache::System.setup end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
stache-1.0.1 | lib/stache/railtie.rb |
stache-1.0.0 | lib/stache/railtie.rb |
stache-1.0.0.rc | lib/stache/railtie.rb |