mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Apply hounder linter styling suggestions
This commit is contained in:
parent
18fb319351
commit
216f01f151
2 changed files with 4 additions and 2 deletions
|
@ -25,8 +25,8 @@ class UserNotificationsController < ApplicationController
|
|||
|
||||
def load_notifications
|
||||
current_user.notifications
|
||||
.select(:id, :type_of, :title, :message, :created_at, 'user_notifications.checked')
|
||||
.order(created_at: :desc)
|
||||
.select(:id, :type_of, :title, :message, :created_at, 'user_notifications.checked')
|
||||
.order(created_at: :desc)
|
||||
end
|
||||
|
||||
def notification_serializer(notifications)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class DropSystemNotifications < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
drop_table :user_system_notifications
|
||||
|
|
Loading…
Reference in a new issue