On Sun, Feb 15, 2015 at 6:13 PM, sri <[email protected]> wrote:

> This stuff is pretty well tested.
>
>
> https://github.com/kraih/mojo/blob/master/t/mojolicious/embedded_lite_app.t#L194
>
> https://github.com/kraih/mojo/blob/master/t/mojolicious/external/myapp.pl#L38
>

Ok, I figured what's happening.  Specifically the new test
<https://gist.github.com/s1037989/4ef7bbfc21bacc10d934> at line 186
illustrates it.

Now, certainly, I may be doing something wrong.  But since <%= url_for %>
returns '/myapp' then when you click that link and get http://.../myapp
then <%= url_for '/index.html' %> will return '/index.html' and not
'/myapp/index.html'

Does that make sense?

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to