summaryrefslogtreecommitdiffstats
path: root/lib/generators
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-01-08 17:53:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-01-08 17:53:50 +0000
commitce066b056768aaf701430cde7b351532ad6cd61b (patch)
treefc224f144c1c538e8a2b5006cdf40fb930ff3e9f /lib/generators
parent4c0638c5f923008aa03afde1c06b1751a3834712 (diff)
downloadredmine-ce066b056768aaf701430cde7b351532ad6cd61b.tar.gz
redmine-ce066b056768aaf701430cde7b351532ad6cd61b.zip
Removes 'unloadable' from plugin templates (#20513).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17160 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/generators')
-rw-r--r--lib/generators/redmine_plugin_controller/templates/controller.rb.erb2
-rw-r--r--lib/generators/redmine_plugin_model/templates/model.rb.erb1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/generators/redmine_plugin_controller/templates/controller.rb.erb b/lib/generators/redmine_plugin_controller/templates/controller.rb.erb
index dddbf7017..0fc5e5c8f 100644
--- a/lib/generators/redmine_plugin_controller/templates/controller.rb.erb
+++ b/lib/generators/redmine_plugin_controller/templates/controller.rb.erb
@@ -1,6 +1,4 @@
class <%= @controller_class %>Controller < ApplicationController
- unloadable
-
<% actions.each do |action| -%>
def <%= action %>
diff --git a/lib/generators/redmine_plugin_model/templates/model.rb.erb b/lib/generators/redmine_plugin_model/templates/model.rb.erb
index 71284e96d..cb6f31411 100644
--- a/lib/generators/redmine_plugin_model/templates/model.rb.erb
+++ b/lib/generators/redmine_plugin_model/templates/model.rb.erb
@@ -1,3 +1,2 @@
class <%= @model_class %> < ActiveRecord::Base
- unloadable
end