21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-12 21:48:38 +02:00
chexpire/app/helpers/notifications_helper.rb
2018-06-04 20:39:53 +02:00

10 lines
188 B
Ruby

module NotificationsHelper
def many_channels_available?
Notification.channels.many?
end
def recipient_col_class
many_channels_available? ? "col-md-7" : "col-md-9"
end
end