You should be able to access your Company model from any controller.

On Mar 10, 2:33 pm, richardsugg <[email protected]> wrote:
> I am creating a customer database.  The navigation menu will have
> sections for supported customers, trial customers, unsupported
> customers, etc.  The nav menu will appear on every page.
>
> I need to get the list of customers (i.e., supported customers), but
> since I'm not using the company controller, I don't have access to the
> methods that return the Company model data.  How can I get the
> Application controller to access the Company model?
>
> Thanks,
> Richard

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