Sha256: 904786710a8105e61859e8a86671e90bb264c49c3cfd74ade173821ace4f5a66
Contents?: true
Size: 627 Bytes
Versions: 33
Compression:
Stored size: 627 Bytes
Contents
json.(page_type, :name, :translation_key_prefix, :translation_key, :help_entry_translation_key, :description_translation_key, :category_translation_key) json.thumbnail_candidates(page_type.thumbnail_candidates) do |candidate| json.(candidate, :attribute, :file_collection) if (condition = candidate[:unless] || candidate[:if]) json.condition do json.(condition, :attribute, :value) json.negated(!!candidate[:unless]) end end end if page_type.json_seed_template json.partial!(:template => page_type.json_seed_template, :locals => {:page_type => page_type}) end
Version data entries
33 entries across 33 versions & 1 rubygems