Style
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
class NotificationsController < ApplicationController
|
||||
def index
|
||||
unless current_page_param
|
||||
@unread = Current.user.notifications.unread.ordered
|
||||
end
|
||||
|
||||
@unread = Current.user.notifications.unread.ordered unless current_page_param
|
||||
set_page_and_extract_portion_from Current.user.notifications.read.ordered
|
||||
|
||||
respond_to do |format|
|
||||
|
||||
Reference in New Issue
Block a user