Is there a way to stop users from being able to access a controllers
methods without affecting the ability of other controllers to use them?
redirect_to :controller => ‘foo’, action => ‘secret’, :id => ‘007’
But directly accessing the URL server.com/foo/secret/007
would return a “Not found” error?
It seems protected and private stop other controllers from accessing
methods. I just want to stop users. (Or more specifically “Outside”
requests not from a controller).
Is this possible in RoR?