> You mean the slice adds many routes and you
> want to protect a subset of them?

Yep that's it.

> In your setup router you whould be able to do something like
>
>  scope.authenticate do
>     # do the admin routes here
>   end

Yes but in that case, authentication is done on a slice basis (i.e.
directly on the slice code). Each application that use that slice MUST
do have the same authentication.

What I would like is to do the authentication "setup" on application
basis. Do you understand what I mean?

Aurélien
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to