21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-31 06:35:07 +02:00
chexpire/app/helpers/notifications_helper.rb

10 lines
200 B
Ruby
Raw Normal View History

2018-05-31 20:49:06 +02:00
module NotificationsHelper
def many_channels_available?
Notification.channels.many?
end
def notification_variable_col_class
many_channels_available? ? "col-md-4" : "col-md-5"
end
2018-05-31 20:49:06 +02:00
end