Orbit/vendor/impressionist/lib/generators/impressionist_generator.rb

14 lines
308 B
Ruby
Raw Normal View History

2012-05-15 14:42:49 +00:00
module Impressionist
module Generators
class ImpressionistGenerator < Rails::Generators::Base
hook_for :orm
source_root File.expand_path('../templates', __FILE__)
def copy_config_file
template 'impression.rb', 'config/initializers/impression.rb'
end
2012-05-15 14:42:49 +00:00
end
end
end