On Sat, Nov 8, 2008 at 2:36 AM, kolach <[EMAIL PROTECTED]> wrote: > > > By modifying app/views/exceptions/unauthenticated.html.* I can control > only view. > But I also want this view to be rendered in a layout different from > the one used for all application.
Hi Kolach, You should be able to set the layout in the unathenticated method of Exceptions. There is no real special magic about this method. It's just an exception method which happens to be where your login form lives. It is not part of the slice, the slice just happens to provide a default. Cheers Daniel > > > On Nov 7, 6:17 pm, Dermot Brennan <[EMAIL PROTECTED]> wrote: > > Does modifying/creating app/views/exceptions/unauthenticated.html.erb > > work? > > > > -Dermot > > > > On Nov 7, 12:50 pm, kolach <[EMAIL PROTECTED]> wrote: > > > > > Hey everyone, > > > > > I'm trying to customize merb-auth-slice-password's view and layout. > > > > > I froze the views with > > > > > rake slices:merb-auth-slice-password:freeze:views > > > > > and a corresponded directory slices/merb-auth-slice-password was > > > created. > > > But if I modify files in this directory it changes nothing. > > > > > What extra steps should I make? > > > It might be that I just don't understand how the slices work. > > > > > Nick. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
