Franz Obenhauser wrote:
> I have two people_controller and people_helper.  One in the controller
> and helper directory and the other in the controller/admin and helper/
> admin namespace.  The reason I have two controllers is because I want
> different views and functionality based on wether the user is an admin
> or not.  I know how to distinguish calling the controllers, 

i couldn't understand you question
what you told that
"I know how to distinguish calling the controllers"

if you can then how ?

> but I don't know how to distinguish the helpers.  To include the people
> helper I use;
> 
> helper :people
> How do I include the helper in the admin directory?

try this
helper 'admin/people'
or
helper 'admin::people'

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to