Retrospring/app/views/layouts/notifications.html.haml

13 lines
282 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
.d-block.d-sm-none= render "shared/links"
:ruby
Notification.for(current_user).update_all(new: false)
parent_layout 'base'