mobile-fu icon indicating copy to clipboard operation
mobile-fu copied to clipboard

fallback to html

Open fikriauliya opened this issue 13 years ago • 11 comments

Similar problem as this: http://stackoverflow.com/questions/4062518/can-a-mobile-mime-type-fall-back-to-html-in-rails

When .mobile is not found, instead of throwing MissingTemplate exception, should try loading .html first.

fikriauliya avatar Jan 07 '12 01:01 fikriauliya

This would be really helpful rather than having to duplicate views just for mobile when not needed.

olliekyan avatar Feb 22 '12 11:02 olliekyan

+1

jstart avatar Jun 19 '12 17:06 jstart

Yup, Olliekyan nailed it.

jfeldstein avatar Jul 01 '12 00:07 jfeldstein

Any progress on this one?

iRonin avatar Jul 02 '12 11:07 iRonin

working on this matter... will push something related to this soon...

SentulAsia avatar Jul 06 '12 07:07 SentulAsia

Sounds mysterious.... :^P

jfeldstein avatar Jul 06 '12 17:07 jfeldstein

i wonder if i've taken a code from somebody else repo in github, how would i credit the original author... i'm taking the code from here: https://github.com/cannikin/format_fallback/blob/master/lib/format_fallback.rb and mobile-fu is not my repo... should i ask brendanlim to credit him instead?

SentulAsia avatar Jul 09 '12 08:07 SentulAsia

@SentulAsia Just link on the pull request should suffice

mrpollo avatar Jan 15 '13 01:01 mrpollo

PR fixes this giving you the option to define which should be handled as mobile (you should know which dont have a .mobile and it's probably clearer this way too)

geermc4 avatar Jan 16 '13 01:01 geermc4

This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.

See #40.

benlangfeld avatar Dec 11 '13 14:12 benlangfeld

:+1:

geermc4 avatar Dec 11 '13 18:12 geermc4