Displaying 1 result from an estimated 1 matches for "place_flash_message".
2008 Aug 25
3
haml says yes, rails says no
I''m using the haml gem and it''s great, been using it for a while and I
love it.
I''ve got a problem trying to display the flash messages, if I do the
following:
- if flash[:notice]
#flashNotice
=flash[:notice]
- else if flash[:error]
#flashError
=flash[:error]
- end
I get
You don''t need to use "- end"