Module: PageAttachmentsInterface::InstanceMethods

Defined in:
app/models/page_attachments_interface.rb

Instance Method Summary collapse

Instance Method Details

#add_page_attachment_partialsObject



11
12
13
14
15
16
17
18
# File 'app/models/page_attachments_interface.rb', line 11

def add_page_attachment_partials
  @buttons_partials ||= []
  @buttons_partials << "attachments_box"
  include_javascript 'admin/lowpro'
  include_javascript 'admin/dragdrop'
  include_javascript 'admin/page_attachments'
  include_stylesheet 'admin/page_attachments'
end