Re: usage of mapActions()

2008-12-29 Thread ddaffy
try using it this way: $this-Auth-mapActions(array (NAME_OF_THE_ACTION_1 = TYPE_OF_THE_ACTION, NAME_OF_THE_ACTION_2 = TYPE_OF_THE_ACTION, ...)); where TYPE_OF_THE_ACTION is 'create', 'read', 'update' or 'delete'. also, AFAIK, mapActions will have effect only if you are using Acl with Auth in

Re: usage of mapActions()

2008-12-29 Thread Arak Tai'Roth
Yea I do have that setup and I did try doing it that way as well, however it was a no go again. So I actually just recently said screw it and just made a new controller to do what I am doing and set it all up that way instead, to something that actually works. Might be better this way either, at

Re: usage of mapActions()

2008-12-28 Thread Arak Tai'Roth
I guess I should probably note that the line I gave that I am using is in my beforeFilter function in my Builds Controller. I also tried it in the App Controller, but that didn't make a difference either. On Dec 28, 2:55 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: So I have this problem.

Re: usage of mapActions()

2008-12-28 Thread Arak Tai'Roth
So I also looked over the api and everything that I am doing looks right to me as far as what the api is expecting to receive. However still when I click the link to take me to that action when I am logged in it just refreshes the current page and does nothing. Any help would be appreciated. On