Plugin models and controllers must be unloadable.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3770 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2010-06-17 19:02:07 +00:00
parent 28519714e0
commit 1a145dca25
2 changed files with 3 additions and 0 deletions

View File

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

View File

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