demarches-normaliennes/app/controllers/champs/repetition_controller.rb
2022-05-03 16:14:54 +02:00

8 lines
228 B
Ruby

class Champs::RepetitionController < ApplicationController
before_action :authenticate_logged_user!
def show
@champ = policy_scope(Champ).includes(:champs).find(params[:champ_id])
@champs = @champ.add_row
end
end