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:
parent
28519714e0
commit
1a145dca25
|
@ -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 %>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
class <%= class_name %> < ActiveRecord::Base
|
class <%= class_name %> < ActiveRecord::Base
|
||||||
|
unloadable
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue