Thanks Magnus,

I gave that a shot but I'm still getting an argument error:

Anonymous modules have no name to be referenced by

I'm trying to wrap my mind around what this patch is doing, but I
don't see the connection between constants and a reference to a
controller.

Dave

On Wed, Jul 21, 2010 at 3:29 PM, Magnus Holm <[email protected]> wrote:
> 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
>



-- 
Dave
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to