Sha256: 2ca19749dcb5543749ab18b5d3a650baab320f2d1b9c588b4db781e83d59c0e1
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-file-upload-0.2.1 | lib/lolita-file-upload/module.rb |
lolita-file-upload-0.2.0 | lib/lolita-file-upload/module.rb |