I have installed Devise but there is no flash messages are shown and I am also using twitter bootstrap , how can I make them appear ?
Asked
Active
Viewed 2,327 times
2
-
1You have not shown any code or provided any details for us to help you. Please start by telling us exactly what you tried and even post some code, please. – Michael Freake Jul 03 '13 at 23:00
1 Answers
2
Check the bootstrap documentation... You have to add some lines in Application.html.erb to enable flash notifications i guess...
something similar to this
<%= render partial: "shared/flash_messages", flash: flash %>
and define the style and contents of flash messages in shared/_flash_messages.html.erb (its placed under shared as flash messages are applicable throughout ur app..
This is jus an example and it most probably is inbuilt in Bootstrap... check the documentation properly :)
Hope this helps..

Bharath Sankar
- 438
- 1
- 4
- 14