On Fri, Nov 21, 2008 at 6:44 PM, Aurels <[EMAIL PROTECTED]> wrote: > > Hi, > > e.g., if I use a slice in 2 apps and I want the admin section to be > public in the first and private in the second, I cannot put the > authentication logic inside the slice... > > Aurélien >
In this case you can just wrap the slice in the router to authenticate it something like authenticate do add_slice(:my_slice) end That will make sure you're authenticated in your application. Cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
