Method: Engine2::DecodeAction#pre_run
- Defined in:
- lib/engine2/action/decode.rb
#pre_run ⇒ Object
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/engine2/action/decode.rb', line 34 def pre_run super if assoc = assets[:assoc] decode = assoc[:model].type_info[assoc[:keys].first][:decode] if decode[:search][:multiple] show_max_selected 3 loc! decode_selected: LOCS[:decode_selected] end end end |