@@ -1,10 +1,10 @@
|
||||
class NotificationsController < ApplicationController
|
||||
def index
|
||||
set_page_and_extract_portion_from Current.user.notifications.read.ordered
|
||||
|
||||
if @page.first?
|
||||
@unread = Current.user.notifications.unread.ordered
|
||||
end
|
||||
|
||||
set_page_and_extract_portion_from Current.user.notifications.read.ordered
|
||||
end
|
||||
|
||||
def mark_read
|
||||
|
||||
Reference in New Issue
Block a user