summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_model/templates/model.rb.erb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/redmine_plugin_model/templates/model.rb.erb')
-rw-r--r--lib/generators/redmine_plugin_model/templates/model.rb.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/redmine_plugin_model/templates/model.rb.erb b/lib/generators/redmine_plugin_model/templates/model.rb.erb
index e730492b0..71284e96d 100644
--- a/lib/generators/redmine_plugin_model/templates/model.rb.erb
+++ b/lib/generators/redmine_plugin_model/templates/model.rb.erb
@@ -1,3 +1,3 @@
-class <%= class_name %> < ActiveRecord::Base
+class <%= @model_class %> < ActiveRecord::Base
unloadable
end