Plugin models and controllers must be unloadable.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3770 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Eric Davis 15 years ago
parent 28519714e0
commit 1a145dca25
  1. 2
      lib/generators/redmine_plugin_controller/templates/controller.rb.erb
  2. 1
      lib/generators/redmine_plugin_model/templates/model.rb.erb

@ -1,4 +1,6 @@
class <%= class_name %>Controller < ApplicationController
unloadable
<% actions.each do |action| -%>
def <%= action %>

@ -1,2 +1,3 @@
class <%= class_name %> < ActiveRecord::Base
unloadable
end

Loading…
Cancel
Save