mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Apply hounder linter styling suggestions
This commit is contained in:
parent
18fb319351
commit
216f01f151
|
@ -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