-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fallback to html if no mobile or tablet templates defined #21
Conversation
A few things:
|
Tagging @cannikin |
Hi there! Yeah I can add the MIT licence into that repo if it helps. |
I'm getting the following error while trying to use this patch:
I think it won't work with Rails 3.2.x |
Updated code obtained from
can u enlighten me on how to add the MobileFu.fallback = false ? Sry but i am familiar with rails but new to gem and plugins... |
I'd like to make sure the issue reported by @iRonin is addressed. I won't merge this if it is incompatible with 3.x. As for disabling, you would simply need to check a class var on MobileFu each time you handle MissingTemplate. |
Perhaps this syntax can be used (in controller):
Also, will fallback option cause only |
I want this so much |
At this moment you can opt-in actions using: mobile_fu_for :action_name Maybe thats a work around for you? Op 27 jun. 2013 om 11:47 heeft PikachuEXE [email protected] het volgende geschreven:
|
The default layout still need |
This fork appears to have a 3.2 compatible version. May want to look there instead of this one. https://github.com/vivrass/format_fallback/ |
Commit is too old and does not confirm to latest rails version... |
Code obtained from https://github.com/cannikin/format_fallback
Do you want me to update the readme about the origin of this particular code?