Hello,
This is on a new thread because I have deleted the message where Bryan Larsen
posted this snippet:
def show
respond_to do |expects|
expects.json { render :json => {...} }
expects.html { hobo_show }
end
end
Is @model available in the json block? If not, how do we get hobo to build
@model rather than having to explicitly program it?
For that matter, does hobo create a JSON/XMS restful interface (parallel to
the html one)?
Regards,
Henry
--
Henry Baragar
Instantiated Software
--
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.