2022-10-20 10:02:12 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Settings::PushNotificationsController < ApplicationController
|
|
|
|
before_action :authenticate_user!
|
|
|
|
|
|
|
|
def index
|
2022-12-27 15:22:51 -08:00
|
|
|
@subscriptions = current_user.web_push_subscriptions.active
|
2022-10-20 10:02:12 -07:00
|
|
|
end
|
|
|
|
end
|