Sha256: 681a2b85136b15938eea88bcbaab1b8374eba53750a61231c8881a8c13d22299
Contents?: true
Size: 377 Bytes
Versions: 14
Compression:
Stored size: 377 Bytes
Contents
if defined?(Rails) && Rails::VERSION::MAJOR > 2 # Rails3 generator invoked with 'rails generate wisepdf' class WisepdfGenerator < Rails::Generators::Base source_root(File.expand_path(File.dirname(__FILE__) + "/../../generators/pdf/templates")) def copy_initializer copy_file 'configure_wisepdf.rb', 'config/initializers/configure_wisepdf.rb' end end end
Version data entries
14 entries across 14 versions & 1 rubygems