Retrospring/app/controllers/moderation/questions_controller.rb

10 lines
230 B
Ruby

# frozen_string_literal: true
class Moderation::QuestionsController < ApplicationController
before_action :authenticate_user!
def show
@questions = Question.where(author_identifier: params[:author_identifier])
end
end