Update broadcast_message helper

Now it returns the fully-formatted message so we can be consistent about
how it's shown.
This commit is contained in:
Robert Speicher
2016-01-13 11:34:58 -05:00
parent 8086b2bd2e
commit 5a1706791e
4 changed files with 46 additions and 27 deletions
+1 -4
View File
@@ -1,4 +1 @@
- if broadcast_message.present?
.broadcast-message{ style: broadcast_styling(broadcast_message) }
= icon('bullhorn')
= broadcast_message.message
= broadcast_message