Apply hounder linter styling suggestions

This commit is contained in:
Ivan Kljun 2023-07-25 15:58:40 +02:00
parent 18fb319351
commit 216f01f151
2 changed files with 4 additions and 2 deletions

View file

@ -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)

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class DropSystemNotifications < ActiveRecord::Migration[7.0]
def up
drop_table :user_system_notifications