retrospring/app/controllers/moderation/questions_controller.rb

10 lines
231 B
Ruby
Raw Normal View History

2022-08-21 04:05:10 +02: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