Skip to content
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 #28

Open
fikriauliya opened this issue Jan 7, 2012 · 11 comments · May be fixed by #35
Open

fallback to html #28

fikriauliya opened this issue Jan 7, 2012 · 11 comments · May be fixed by #35

Comments

@fikriauliya
Copy link

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.

@olliekyan
Copy link

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

@jstart
Copy link

jstart commented Jun 19, 2012

+1

@jfeldstein
Copy link

Yup, Olliekyan nailed it.

@iRonin
Copy link

iRonin commented Jul 2, 2012

Any progress on this one?

@SentulAsia
Copy link

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

@jfeldstein
Copy link

Sounds mysterious.... :^P

@SentulAsia
Copy link

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?

@mrpollo
Copy link

mrpollo commented Jan 15, 2013

@SentulAsia Just link on the pull request should suffice

@geermc4 geermc4 linked a pull request Jan 16, 2013 that will close this issue
@geermc4
Copy link

geermc4 commented Jan 16, 2013

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)

@benlangfeld
Copy link

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.

@geermc4
Copy link

geermc4 commented Dec 11, 2013

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants