2022-10-04 22:11:01 +02:00
|
|
|
class Champs::RNAController < ApplicationController
|
|
|
|
before_action :authenticate_logged_user!
|
|
|
|
|
|
|
|
def show
|
|
|
|
@champ = policy_scope(Champ).find(params[:champ_id])
|
|
|
|
@rna = read_param_value(@champ.input_name, 'value')
|
2023-01-13 14:22:43 +01:00
|
|
|
@network_error = @champ.fetch_association!(@rna).present?
|
2022-10-04 22:11:01 +02:00
|
|
|
end
|
|
|
|
end
|