[typo] The rails_1_1 branch

Piers Cawley pdcawley at bofh.org.uk
Thu Mar 30 12:50:01 EST 2006

"Dean Strelau" <strelau at cornell.edu> writes:

> I had the same thing happening to me. In
> app/controllers/articles_controller.rb change
> layout :theme_layout, :except => [:comment_preview, :trackback]
> to
> layout :theme_layout, :except => [:comment, :comment_preview,
> :trackback]

Not necessarily a good fix. Rendering a partial (which is what we do
for ajax comment additions) shouldn't use the layout anyway. And for
none ajax comments you need to render with the layout.

Piers Cawley <pdcawley at bofh.org.uk>

More information about the Typo-list mailing list