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

8 lines
252 B
Ruby

class Champs::DossierLinkController < ApplicationController
before_action :authenticate_logged_user!
def show
@champ = policy_scope(Champ).find(params[:champ_id])
@linked_dossier_id = read_param_value(@champ.input_name, 'value')
end
end