From ce91ba853375e8f9a3a3999b007299ae9f65b3ae Mon Sep 17 00:00:00 2001 From: Michael Frister Date: Thu, 29 Aug 2013 14:38:43 +0100 Subject: [PATCH] Update engine.rb generator to include register --- .../templates/lib/open_project/%plugin_name%/engine.rb.tt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%/engine.rb.tt b/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%/engine.rb.tt index 2a74ddd0ee..815ef0942a 100644 --- a/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%/engine.rb.tt +++ b/lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%/engine.rb.tt @@ -4,5 +4,10 @@ module OpenProject::<%= plugin_name.camelcase %> include OpenProject::Plugins::ActsAsOpEngine + register 'OpenProject <%= plugin_name.gsub('_', ' ').titleize %>', + '<%= full_name %>', + :author_url => 'http://finn.de', + :requires_openproject => '>= 3.0.0pre13' + end end