5 lines
208 B
Ruby
5 lines
208 B
Ruby
class EditableChamp::DossierLinkComponent < EditableChamp::EditableChampBaseComponent
|
|
def dossier
|
|
@dossier ||= @champ.blank? ? nil : Dossier.visible_by_administration.find_by(id: @champ.to_s)
|
|
end
|
|
end
|