This project is archived and is in readonly mode.

#3207 ✓committed
Gaspard Bucher

[PATCH] layouts with absolute path not found if path does not contain "layouts"

Reported by Gaspard Bucher | September 15th, 2009 @ 09:07 AM

If the layout does not contain the word "layouts", it is prepended with "layouts/" even if the path is absolute which leads to a TemplateMissing error with a path like:

layouts//Users/gaspard/rails/path/to/layout.rhtml

The patch contains a failing test and a simple fix to detect absolute paths.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages