10 lines
231 B
Ruby
10 lines
231 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class Moderation::QuestionsController < ApplicationController
|
||
|
before_action :authenticate_user!
|
||
|
|
||
|
def index
|
||
|
@questions = Question.where(author_identifier: params[:author_identifier])
|
||
|
end
|
||
|
end
|