Sha256: 815777495375e05ab478c5d4eb10d8d06768eefaf94b347cf7f91a3c514a9958

Contents?: true

Size: 400 Bytes

Versions: 6

Compression:

Stored size: 400 Bytes

Contents

ActiveAdmin.register ActiveadminSelleoCms::Attachment, as: 'Attachment' do
  menu false

  form :partial => "form"

  controller do
    respond_to :html, :js

    def edit
      super do |format|
        format.html { render action: :edit, layout: false }
      end
    end

    def new
      super do |format|
        format.html { render action: :new, layout: false }
      end
    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.38 app/admin/activeadmin_selleo_cms/attachment.rb
activeadmin-selleo-cms-0.0.37 app/admin/activeadmin_selleo_cms/attachment.rb
activeadmin-selleo-cms-0.0.36 app/admin/activeadmin_selleo_cms/attachment.rb
activeadmin-selleo-cms-0.0.35 app/admin/activeadmin_selleo_cms/attachment.rb
activeadmin-selleo-cms-0.0.34 app/admin/activeadmin_selleo_cms/attachment.rb
activeadmin-selleo-cms-0.0.33 app/admin/activeadmin_selleo_cms/attachment.rb