Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #1820 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

changeset 1905 broke content_for method

Reported by: Mark van Eijk Assigned to: David
Priority: normal Milestone:
Component: ActionPack Version: 0.13.1
Severity: normal Keywords:
Cc: skaes@gmx.net

Description

When using content_for('sidebar') for a block in a view, this block isn't rendered in the layout anymore when using @content_for_sidebar.

Reverting back actionpack/lib/action_controller/layout.rb and actionpack/lib/action_controller/base.rb to revision 1904 fixes the problem.

Attachments

capture_bug.diff (1.3 kB) - added by skaes on 07/24/05 07:17:01.

Change History

07/23/05 23:07:55 changed by anonymous

  • milestone set to 1.0.

regression, fix for 1.0

07/24/05 07:17:01 changed by skaes

  • attachment capture_bug.diff added.

07/24/05 07:17:30 changed by anonymous

I think this should fix the problem. Could you please try it?

07/24/05 07:24:09 changed by anonymous

  • cc set to skaes@gmx.net.

07/24/05 08:09:43 changed by Mark van Eijk

  • milestone deleted.

Works fine for me. :)

07/24/05 13:20:34 changed by david

  • status changed from new to closed.
  • resolution set to fixed.