I have an index.js
in place which is fired ok from desktop but gives the following error when I try to open from Mobile Safari.
ActionView::MissingTemplate: Missing template ads/thumbs/index, application/index with {:locale=>[:es, :en], :formats=>[:mobile], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/app/app/views" * "/app/vendor/bundle/ruby/1.9.1/gems/devise-1.5.2/app/views" * "/app/app/views"
I'm not sure why it is looking for a :formats=>[:mobile]
when there's no such a file in the folder.
Same thing happens after trying to sign in with devise from mobile phone. I tries to render a nonexistent create.mobile.haml
file.
P.S. Is there a way to make :mobile
views to fallback default :html
views when not found? That would make the trick.