retrospring/app/controllers/settings/push_notifications_controller.rb
2023-01-02 11:51:46 +01:00

9 lines
222 B
Ruby

# frozen_string_literal: true
class Settings::PushNotificationsController < ApplicationController
before_action :authenticate_user!
def index
@subscriptions = current_user.web_push_subscriptions.active
end
end