Sha256: a10fc504418d9d0cd5d2f7bfae1d0aa0e82b16dc5abeb64254c28840f05304fa
Contents?: true
Size: 388 Bytes
Versions: 14
Compression:
Stored size: 388 Bytes
Contents
# append route Lolita.add_module Lolita::FileUpload, :nested=>true,:route=>lambda{|resource| if resource.lolita.tabs.by_type(:files) return :file_upload end } # append fixed gallery Lolita::Hooks.component(:"lolita/configuration/tab/default/display").before do render_component(:"lolita/configuration/tab/files", :fixed_gallery) if resource_class.lolita.tabs.by_type(:files) end
Version data entries
14 entries across 14 versions & 1 rubygems