Added the RoR Login-Engine and activated it on the site.
[selectricity-live] / vendor / plugins / engines / generators / engine / templates / init_engine.erb
diff --git a/vendor/plugins/engines/generators/engine/templates/init_engine.erb b/vendor/plugins/engines/generators/engine/templates/init_engine.erb
new file mode 100644 (file)
index 0000000..42dda69
--- /dev/null
@@ -0,0 +1,15 @@
+<%= license %>
+
+module <%= engine_class_name %>
+  module VERSION
+    Major = 0 # change implies compatibility breaking with previous versions
+    Minor = 1 # change implies backwards-compatible change to API
+    Release = 0 # incremented with bug-fixes, updates, etc.
+  end
+end
+
+Engines.current.version = <%= engine_class_name %>::VERSION
+
+# load up all the required files we need...
+require '<%= engine_underscored_name %>'
+

Benjamin Mako Hill || Want to submit a patch?