Sha256: d29d14306628a47d3370ee74d5ee5745a671170cfdb6eece7eda77002206a25b
Contents?: true
Size: 401 Bytes
Versions: 4
Compression:
Stored size: 401 Bytes
Contents
require "rails" module PrawnCocktailRails class Railtie < Rails::Railtie initializer "prawn_cocktail.autoload", before: :set_autoload_paths do |app| app.config.autoload_paths << "#{app.config.root}/app/documents/helpers" end initializer "prawn_cocktail.set_template_root" do |app| PrawnCocktail.template_root = app.config.root.join("app/views/documents") end end end
Version data entries
4 entries across 4 versions & 1 rubygems