Use layout inheritance by convention
This commit is contained in:
parent
19e7ed557e
commit
ae4c68a10b
|
@ -8,3 +8,4 @@
|
|||
|
||||
- Notification.for(current_user).update_all(new: false)
|
||||
- provide(:title, generate_title("Notifications"))
|
||||
- parent_layout "base"
|
|
@ -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"
|
Loading…
Reference in New Issue