Patches: Browse | Submit New | Admin

[#9651] Add ActionController::Base.exempt_from_layout :pdf so that :layout => false doesn't need to be set.

Date:
2007-03-28 20:08
Priority:
3
Submitted By:
Bart ten Brinke (bcc)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Add ActionController::Base.exempt_from_layout :pdf so that :layout => false doesn't need to be set.

Detailed description
All pdf calls in all rails controllers need to be explicitly excluded from the default layout calls. 
Adding ActionController::Base.exempt_from_layout :pdf makes this unnecessary.

Also see ttp://beautifulpixel.com/articles/2007/01/11/write-your-own-template-handler

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-03-29 06:59
Sender: Bart ten Brinke

Typo:
ActionController::Base.exempt_from_layout :rpdf 

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
summaryAdd ActionController::Base.exempt_from_layout :pdf so that :layout => false doesn't need to be set.2007-03-29 06:59bcc