retrospring/app/controllers/moderation/questions_controller.rb
2022-08-21 13:17:45 +02:00

9 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