On Wed, Sep 22, 2010 at 2:48 PM, José Mota <[email protected]> wrote:
> It's still not working for me :( My HAML code: http://gist.github.com/592250
>
> flash[:alert] is there. It does show the errors on a bad login, but it
> doesn't show actions when:
> * Trying to login when already logged in;
> * Trying to logout when not logged in at all.

Are you sure it's supposed to?

Are you using the provided menu items that Devise gives you:

<%= render 'devise/menu/registration_items' %>
<%= render 'devise/menu/login_items' %>

You can generate those views if you want and look at them and you'll
see you shouldn't have the options you describe available under those
conditions.


-- 
Rick R

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to