Can't find where to put non-index methods for appController

I have a couple of methods that I would like to not be available to the
world as actions in my ApplicationController, but need to be visible to
the methods in my ApplicationController.

This is a dumb question yes, and I know the answer is extermely simple.

Can I stuff them in another class somewhere?
If so, what rails directory do I put it in?

Thanks,
-Jon

Hi there,
Look into private & protected in your class.
You can see examples here
http://wiki.rubyonrails.org/rails/pages/AuthenticationWithAbstractApplicationController
but if you look around it’s probally somewhere in the api docs too.

Best Regards
Eaden McKee

Webforce Ltd. | www.webforce.co.nz

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs