Use layout inheritance by convention

This commit is contained in:
Andreas Nedbal 2020-04-25 17:54:52 +02:00
parent 19e7ed557e
commit ae4c68a10b
2 changed files with 3 additions and 4 deletions

View File

@ -8,3 +8,4 @@
- Notification.for(current_user).update_all(new: false)
- provide(:title, generate_title("Notifications"))
- parent_layout "base"

View File

@ -18,5 +18,3 @@
- if @more_data_available
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @notifications_last_id }}
Load more
- parent_layout "notification"