Retrospring/app/views/layouts/notifications.haml

12 lines
290 B
Plaintext

.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'