Slight simplification
This commit is contained in:
parent
102ea7e67c
commit
0d6b50c232
1 changed files with 18 additions and 19 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
// Display alert messages to the user
|
// Display alert messages to the user
|
||||||
|
|
||||||
- if flash
|
- flash.each do |name,msg|
|
||||||
- flash.each do |name,msg|
|
|
||||||
- case name
|
- case name
|
||||||
- when 'timedout'
|
- when 'timedout'
|
||||||
/ Workaround for Devise sometimes sending "true"
|
/ Workaround for Devise sometimes sending "true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue