diff options
Diffstat (limited to 'lib/generators')
-rw-r--r-- | lib/generators/refinerycms_blog/templates/db/migrate/migration_number_create_singular_name.rb (renamed from lib/generators/refinery_blog/templates/db/migrate/migration_number_create_singular_name.rb) | 0 | ||||
-rw-r--r-- | lib/generators/refinerycms_blog/templates/db/seeds/seed.rb (renamed from lib/generators/refinery_blog/templates/db/seeds/seed.rb) | 0 | ||||
-rw-r--r-- | lib/generators/refinerycms_blog_generator.rb (renamed from lib/generators/refinery_blog_generator.rb) | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/generators/refinery_blog/templates/db/migrate/migration_number_create_singular_name.rb b/lib/generators/refinerycms_blog/templates/db/migrate/migration_number_create_singular_name.rb index badb213..badb213 100644 --- a/lib/generators/refinery_blog/templates/db/migrate/migration_number_create_singular_name.rb +++ b/lib/generators/refinerycms_blog/templates/db/migrate/migration_number_create_singular_name.rb diff --git a/lib/generators/refinery_blog/templates/db/seeds/seed.rb b/lib/generators/refinerycms_blog/templates/db/seeds/seed.rb index f958fab..f958fab 100644 --- a/lib/generators/refinery_blog/templates/db/seeds/seed.rb +++ b/lib/generators/refinerycms_blog/templates/db/seeds/seed.rb diff --git a/lib/generators/refinery_blog_generator.rb b/lib/generators/refinerycms_blog_generator.rb index 4f0cbe6..ba21e9f 100644 --- a/lib/generators/refinery_blog_generator.rb +++ b/lib/generators/refinerycms_blog_generator.rb @@ -1,9 +1,9 @@ require 'rails/generators/migration' -class RefineryBlogGenerator < Rails::Generators::NamedBase +class RefinerycmsBlogGenerator < Rails::Generators::NamedBase include Rails::Generators::Migration - source_root File.expand_path('../refinery_blog/templates/', __FILE__) + source_root File.expand_path('../refinerycms_blog/templates/', __FILE__) argument :name, :type => :string, :default => 'blog_structure', :banner => '' def generate |