As a new hobo user I very much like the ease and intuitive way of
setting up access permissions in your model (with the help of the is_*
methods).
I am currently trying to figure out on how you would be able to reuse
those access restrictions also to the non-HTML output channel, to
provide an RESTful XML web service to another application. As example,
with which means could I ensure this in my controller ?
def show
hobo_show do |wants|
wants.xml {
@category = find_instance
render :xml => @category
}
wants.html { }
end
end
Is there a way to use HTTP Basic Authentication for the XML case, is
there already an recommendation to use it the hobo way? Any help on
this is very much appreciated.
Cheers,
Niko
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---