Update engine.rb generator to include register

pull/1649/head
Michael Frister 11 years ago
parent 42990b3260
commit ce91ba8533
  1. 5
      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

Loading…
Cancel
Save