This is a well-known bug in Tilt:
http://groups.google.com/group/tiltrb/browse_thread/thread/19fef5370c4d417f

The thread includes a quite simple patch for 1.8, and a larger, very
hackish patch for 1.8+1.9.


// Magnus Holm



On Wed, Jul 21, 2010 at 21:05, David Susco <[email protected]> wrote:
> When using Tilt for views I need to completely specify the controller
> within the template file.
>
> For example, in a Markaby view I can do this:
>
> URL(LogIn)
>
> But in a template file I have to do this:
>
> URL(MyApp::Controllers::LogIn)
>
> Is there anyway around this?
>
> --
> Dave
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
>
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to