Retrospring/app/views/layouts/notifications.haml

13 lines
325 B
Plaintext

= render 'navigation/notification'
.container-lg.container--main
.row
.col-md-3.col-xs-12.col-sm-4
= render 'tabs/notifications'
.col-md-9.col-xs-12.col-sm-8
= yield
:ruby
Notification.for(current_user).update_all(new: false)
provide(:title, generate_title('Notifications'))
parent_layout 'base'