Sha256: 097e98d4685401d3bd730ffa8970d8f0da637b98d006c6ca211329a906914e77
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 Bytes
Contents
require 'poirot/handler' require 'poirot/view' require 'poirot/asset_helper' ActionView::Template.register_template_handler(:mustache, Poirot::Handler) ActionView::Base.send :include, Poirot::AssetHelper module Poirot class Railtie < Rails::Railtie config.before_configuration do |app| app.config.autoload_paths += %W(#{app.config.root}/app/views) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
poirot-0.0.2 | lib/poirot.rb |
poirot-0.0.1 | lib/poirot.rb |