Sha256: 17c843c29b993bff87051c060ed871bd15f812fe72f3e47c43a64e59ccf04b8a
Contents?: true
Size: 378 Bytes
Versions: 7
Compression:
Stored size: 378 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
7 entries across 7 versions & 1 rubygems