tiny_cms 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
@@ -8,7 +8,7 @@ class TinyCmsGenerator < Rails::Generator::NamedBase
|
|
8
8
|
m.template 'model.rb', "app/models/#{file_path}.rb"
|
9
9
|
|
10
10
|
m.directory "app/controllers/#{class_path}"
|
11
|
-
m.template '
|
11
|
+
m.template 'controller.rb', "app/controllers/#{plural_name}_controller.rb"
|
12
12
|
|
13
13
|
m.migration_template 'migration.rb', 'db/migrate', :migration_file_name => "tiny_cms_create_#{table_name}"
|
14
14
|
m.route_tiny_cms table_name
|