Retrospring/app/controllers/moderation/questions_controller.rb

10 lines
231 B
Ruby
Raw Normal View History

2022-08-20 19:05:10 -07:00
# frozen_string_literal: true
class Moderation::QuestionsController < ApplicationController
before_action :authenticate_user!
def index
@questions = Question.where(author_identifier: params[:author_identifier])
end
end