aboutsummaryrefslogtreecommitdiffstats
path: root/lib/generators
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 13:46:24 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 13:46:24 +0300
commit3fa8937b95a4d90000ad1be9c588424052136455 (patch)
tree07e61cd13bd88a76d13c3d759475d67d088d5f6e /lib/generators
parente5db679226bac7ef8ddd568c40f52addd52d7a8a (diff)
downloadrefinerycms-blog-3fa8937b95a4d90000ad1be9c588424052136455.tar.gz
refinerycms-blog-3fa8937b95a4d90000ad1be9c588424052136455.tar.bz2
refinerycms-blog-3fa8937b95a4d90000ad1be9c588424052136455.zip
Rails 3.1 - wip.
Diffstat (limited to 'lib/generators')
-rw-r--r--lib/generators/blog_generator.rb10
-rw-r--r--lib/generators/refinerycms_blog_generator.rb8
2 files changed, 10 insertions, 8 deletions
diff --git a/lib/generators/blog_generator.rb b/lib/generators/blog_generator.rb
new file mode 100644
index 0000000..8b09bb7
--- /dev/null
+++ b/lib/generators/blog_generator.rb
@@ -0,0 +1,10 @@
+require 'refinery/generators'
+
+module ::Refinery
+ class BlogGenerator < ::Refinery::Generators::EngineInstaller
+
+ source_root File.expand_path('../../../', __FILE__)
+ engine_name "refinerycms-blog"
+
+ end
+end
diff --git a/lib/generators/refinerycms_blog_generator.rb b/lib/generators/refinerycms_blog_generator.rb
deleted file mode 100644
index 6fca607..0000000
--- a/lib/generators/refinerycms_blog_generator.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-require 'refinery/generators'
-
-class RefinerycmsBlogGenerator < ::Refinery::Generators::EngineInstaller
-
- source_root File.expand_path('../../../', __FILE__)
- engine_name "refinerycms-blog"
-
-end \ No newline at end of file