discourse-subscriptions/app/controllers/admin_controller.rb

12 lines
221 B
Ruby
Raw Normal View History

2019-09-13 22:56:28 -04:00
# frozen_string_literal: true
module DiscoursePatrons
class AdminController < ::Admin::AdminController
def index
payments = Payment.all
render_serialized(payments, PaymentSerializer)
end
end
end