I'm trying to create mobile views for a simple hobo site with jquery mobile.
I added jquery and mobile-fu to my project, and tried to get a view to work.
In the controller I have:
class ListsController < ApplicationController
hobo_model_controller
auto_actions :all
def index
hobo_index
respond_to do |format|
format.html
format.mobile
end
end
end
This works, sort of. From Safari, I see the regular dryml site. From mobile
safari, I see lists/index.mobile.erb, but I DONT see whats in
layouts/application.mobile.erb. It doesn't show the layout at all.
I tried
format.mobile {render :layout => true}
and nothing changed. Ideas to get the layout to work?
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.