Retrospring/app/controllers/moderation/questions_controller.rb

10 lines
230 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!
2022-08-21 03:58:58 -07:00
def show
2022-08-20 19:05:10 -07:00
@questions = Question.where(author_identifier: params[:author_identifier])
end
end