> Hi Chris,
>   I just went thru this today,
> this is what I have in my init.rb
>
> Merb::BootLoader.after_app_loads do
>   Merb::Slices::config[:merb_auth_slice_password][:layout] = :application
> end
>
> Im guessing you could replace :application with whatever layout you wanted,
> So, maybe yours wouldl work if your layout was
> app/views/layouts/system.html.erb.  Not sure on that tho.



No, simply changing it to :system does not work.

Merb::Slices::config[:merb_
>
> auth_slice_password][:layout] = ::system


the file "app/views/layouts/system.html.erb" exists.

Also, deep within the gem itself, I see:

[code]
 # Slice configuration - set this in a before_app_loads callback.
  # By default a Slice uses its own layout, so you can swicht to
  # the main application layout or no layout at all if needed.
  #
  # Configuration options:
  # :layout - the layout to use; defaults to :mauth_password_slice
  # :mirror - which path component types to use on copy operations; defaults
to all
  Merb::Slices::config[:"merb-auth-slice-password"][:layout] ||=
:application
[/code]

Notice it uses a symbolized string here instead of just a symbol.  I wonder
what's with that?

I even tried hacking the gem itself to say :system and it still wouldn't
work.

--~--~---------~--~----~------------~-------~--~----~
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