Sha256: de7308a68afa610d4ed87b2380c9ed6ef6f56a895bc2ec35416f6b87d153930f

Contents?: true

Size: 247 Bytes

Versions: 4

Compression:

Stored size: 247 Bytes

Contents

require "rails"

module PrawnCocktail
  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
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prawn_cocktail-0.4.0 lib/prawn_cocktail/railtie.rb
prawn_cocktail-0.3.1 lib/prawn_cocktail/railtie.rb
prawn_cocktail-0.2.0 lib/prawn_cocktail/railtie.rb
prawn_cocktail-0.0.1 lib/prawn_cocktail/railtie.rb