add default_sorted_column
This commit is contained in:
parent
305b31e53b
commit
9652cf78c3
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,10 @@ module ColumnsConcern
|
||||||
columns
|
columns
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def default_sorted_column
|
||||||
|
SortedColumn.new(column: notifications_column, order: 'desc')
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def standard_columns
|
def standard_columns
|
||||||
|
|
Loading…
Reference in a new issue