This project is archived and is in readonly mode.

#4496 ✓stale
Marcelo Barbudas

Rails doesn't look for the best option in ViewPaths

Reported by Marcelo Barbudas | April 28th, 2010 @ 05:58 PM

I am modifying view_paths for the purpose of themes.

If I make a JS request and the first directory contains an html.erb file it will render that, instead of looking down the next directories to find a .js.rjs.

It would be nice if rails would search for the best option in all view paths.

Comments and changes to this ticket

  • Ryan Bigg

    Ryan Bigg January 2nd, 2011 @ 07:23 AM

    • State changed from “new” to “stale”
    • Importance changed from “” to “Low”

    There has been no action on this ticket for close to 9 months, closing as stale.

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=""></a>