The simplest way is to have the approve method, when called: - perform the DB update, - set a flash message, - redirect back to the originating page (the refferer, usually available in a controller via the referrer() method).
You should also make the links mini forms that do HTTP POST requests rather than GET requests, to prevent against amateur URL hacking, etc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---