app/controllers/ui/group_elders_controller.rb
module Ui
class GroupEldersController < Ui::BaseController
before_action :authorize_person
def group_admins_index
respond_with_interaction Ui::GroupAdminsLoadingInteraction
end
def group_curators_index
respond_with_interaction Ui::GroupCuratorsLoadingInteraction
end
def group_praepostors_index
respond_with_interaction Ui::GroupPraepostorsLoadingInteraction
end
private
def authorize_person
authorize Person
end
end
end