Proper REST approach for 2 resources in same page

Hi. I have 2 controllers UsersController and GroupsController. Each of
them RESTful.

For browsers, I wish to display users and groups data in the same HTML
page. This doesn’t play well with REST, so I’m wondering what the best
approach is.

I could create a UsersAndGroupsController which renders the appropriate
templates, and when someone submits a write operation from the
interface, that would hit eg. the GroupsController, which would
format.html { redirect_to :controller => ‘usersandgroups’, :action =>
‘index’ } which would be somewhat DRY.

Anyone have ideas for other more elegant approaches?

Br,

Morten