lib/generators/enrichments/enrichments_generator.rb in e9s-2.2.0 vs lib/generators/enrichments/enrichments_generator.rb in e9s-2.2.1
- old
+ new
@@ -2,10 +2,10 @@
desc "Creates entities used by Enrichments (e9s)"
class_option :user_model , :type => :string , :default => "User" , :aliases => "-u" , :desc => "The name of the Authlogic user model."
class_option :content_model , :type => :string , :default => "CmsContent" , :aliases => "-c" , :desc => "The name of the CMS content model."
class_option :translation_model, :type => :string , :default => "Translation", :aliases => "-t" , :desc => "The name of the I18n translation model."
- class_option :migrate , :type => :boolean, :default => false , :aliases => "-m" , :desc => "Run 'rake db:migrate' after generating model and migration"
+ class_option :migrate , :type => :boolean, :default => false , :aliases => "-m" , :desc => "Run 'rake db:migrate' after generating model and migration."
def generate_rich_cms_files
generate "rich:authlogic_user", options[:user_model]
generate "rich:cms_content", options[:content_model]
end
\ No newline at end of file