Um, what syntax would I use in this snippet to indicate that only 
"Administrators" should be able to see the users "tab" at all?

class UsersController < ApplicationController

  hobo_user_controller

  auto_actions :all

end

Sincerely,

Arthur




________________________________
From: kevinpfromnm <[email protected]>
To: Hobo Users <[email protected]>
Sent: Mon, July 26, 2010 10:58:10 AM
Subject: [Hobo Users] Re: Create Users' Tab

Your users controller lacks an index method by default.  You can add
it there but you'll probably want to hide it from normal users.

On Jul 26, 11:28 am, Arthur Baldwin <[email protected]> wrote:
> I'm just beginning to use Hobo, so please excuse my apparent ignorance.
>
> I want to have a "tab" on the hobo created site that will allow editing of the
> records in the users table and allow me to specify which "group" each user
> belongs to.  So far, I have created a "tab" for the "groups" and entered the
> desired group names.  Since the users table already exists, I'm thinking that 
I
> don't need to do the typical "ruby script/generate hobo_model_resource user"
> command, but there's probably a simple way to tell hobo that I'd like a "tab"
> for the existing table.
>
> Can you tell me where to look in one of the two books?  Or give me a quick 
>hint?
>
> Arthur

-- 
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.


      

-- 
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.

Reply via email to