breaking: simplify linked_drop_down_column column_id
This commit is contained in:
parent
0b2bc68d48
commit
52aaff5ffc
1 changed files with 1 additions and 7 deletions
|
@ -23,13 +23,7 @@ class Columns::LinkedDropDownColumn < Columns::ChampColumn
|
|||
|
||||
private
|
||||
|
||||
def column_id
|
||||
if path == :value
|
||||
"type_de_champ/#{stable_id}"
|
||||
else
|
||||
"type_de_champ/#{stable_id}->#{path}"
|
||||
end
|
||||
end
|
||||
def column_id = "type_de_champ/#{stable_id}->#{path}"
|
||||
|
||||
def typed_value(champ)
|
||||
return nil if path == :value
|
||||
|
|
Loading…
Reference in a new issue