2012-03-12 21:19:29 +00:00
|
|
|
module Impressionist
|
|
|
|
module Generators
|
|
|
|
class ImpressionistGenerator < Rails::Generators::Base
|
|
|
|
hook_for :orm
|
2012-03-12 22:06:16 +00:00
|
|
|
source_root File.expand_path('../templates', __FILE__)
|
|
|
|
|
|
|
|
def copy_config_file
|
|
|
|
template 'impression.rb', 'config/initializers/impression.rb'
|
|
|
|
end
|
2012-03-12 21:19:29 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|