Sha256: 98864347d932397f555ea9d2b2159f66968d973789a74e8a1e06ac3e9787d4ba
Contents?: true
Size: 389 Bytes
Versions: 1
Compression:
Stored size: 389 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolita-file-upload-0.3.0.2 | lib/lolita-file-upload/module.rb |