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

9 lines
215 B
Ruby

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