view file extensions
-
Brendan G. Lim
Since, you're forcing true, it will always look for this extension regardless of what browser they are accessing your site from:
.mobile.erb
You should use has_mobile_fu instead of has_mobile_fu(true) since the second one I mentioned is just used for testing, unless that's what you were planning on doing.
-
Chuong Huynh
No, actually the problem is:
When use has_mobile_fu(true), or if the request has been recognized as from mobile device, render will look for .erb file, not .html.erb. I'm using haml, and it doesn't work as well - it keep looking for .erb view.
Thing works fine if request is not from .mobile.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.