summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_model
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-06-17 19:02:07 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-06-17 19:02:07 +0000
commit1a145dca25ec1e341eea70337d64f58feebbc958 (patch)
tree5d3d526cb23f31bf3dd3e2dcc995ea2f0208de20 /lib/generators/redmine_plugin_model
parent28519714e0dcd97cb61266d69dfdf5909d4acb88 (diff)
downloadredmine-1a145dca25ec1e341eea70337d64f58feebbc958.tar.gz
redmine-1a145dca25ec1e341eea70337d64f58feebbc958.zip
Plugin models and controllers must be unloadable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3770 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/generators/redmine_plugin_model')
-rw-r--r--lib/generators/redmine_plugin_model/templates/model.rb.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/generators/redmine_plugin_model/templates/model.rb.erb b/lib/generators/redmine_plugin_model/templates/model.rb.erb
index 8d4c89e91..e730492b0 100644
--- a/lib/generators/redmine_plugin_model/templates/model.rb.erb
+++ b/lib/generators/redmine_plugin_model/templates/model.rb.erb
@@ -1,2 +1,3 @@
class <%= class_name %> < ActiveRecord::Base
+ unloadable
end