diff options
Diffstat (limited to 'lib/generators/redmine_plugin/templates')
-rw-r--r-- | lib/generators/redmine_plugin/templates/init.rb.erb | 2 | ||||
-rw-r--r-- | lib/generators/redmine_plugin/templates/routes.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/generators/redmine_plugin/templates/init.rb.erb b/lib/generators/redmine_plugin/templates/init.rb.erb index e6feded22..763ba7d22 100644 --- a/lib/generators/redmine_plugin/templates/init.rb.erb +++ b/lib/generators/redmine_plugin/templates/init.rb.erb @@ -1,5 +1,3 @@ -require 'redmine' - Redmine::Plugin.register :<%= plugin_name %> do name '<%= plugin_pretty_name %> plugin' author 'Author name' diff --git a/lib/generators/redmine_plugin/templates/routes.rb b/lib/generators/redmine_plugin/templates/routes.rb new file mode 100644 index 000000000..1803173d0 --- /dev/null +++ b/lib/generators/redmine_plugin/templates/routes.rb @@ -0,0 +1,2 @@ +# Plugin's routes +# See: http://guides.rubyonrails.org/routing.html |