Instiki 0.16.3: Rails 2.3.0
Instiki now runs on the Rails 2.3.0 Candidate Release. Among other improvements, this means that it now automagically selects between WEBrick and Mongrel. Just run ./instiki --daemon
This commit is contained in:
parent
43aadecc99
commit
4e14ccc74d
893 changed files with 71965 additions and 28511 deletions
|
@ -25,12 +25,11 @@ module ActionView
|
|||
end
|
||||
|
||||
def render_partial(view, object = nil, local_assigns = {}, as = nil)
|
||||
object ||= local_assigns[:object] ||
|
||||
local_assigns[variable_name]
|
||||
object ||= local_assigns[:object] || local_assigns[variable_name]
|
||||
|
||||
if view.respond_to?(:controller)
|
||||
if object.nil? && view.respond_to?(:controller)
|
||||
ivar = :"@#{variable_name}"
|
||||
object ||=
|
||||
object =
|
||||
if view.controller.instance_variable_defined?(ivar)
|
||||
ActiveSupport::Deprecation::DeprecatedObjectProxy.new(
|
||||
view.controller.instance_variable_get(ivar),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue