Sha256: a2c1f74eb6c4c72ae8b1e37a2d400b4d293d1e19918f51e9354cc65f120cffbe

Contents?: true

Size: 600 Bytes

Versions: 15

Compression:

Stored size: 600 Bytes

Contents

Voom::Presenters.define(:deletes_action) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :events_drawer

  indented_grid do
    heading 'Deletes'
    body 'Issues a DEL to a given url',
         'Generally used to destroy/delete a restful resource.'
    body '*Note: Will generate a 404.*'

    title 'Deletes'
    body 'issues a DELETE to the passed path'
    content do
      button 'deletes' do
        event :click do
          # Will generate an error
          deletes 'deletepath', {optional: :params}
        end
      end
    end
  end
  attach :code, file: __FILE__
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 app/demo/events/actions/deletes.pom
voom-presenters-2.1.0 app/demo/events/actions/deletes.pom
voom-presenters-2.0.3 app/demo/events/actions/deletes.pom
voom-presenters-2.0.2 app/demo/events/actions/deletes.pom
voom-presenters-2.0.1 app/demo/events/actions/deletes.pom
voom-presenters-2.0.0 app/demo/events/actions/deletes.pom
voom-presenters-0.2.0 app/demo/events/actions/deletes.pom
voom-presenters-0.1.13 app/demo/events/actions/deletes.pom
voom-presenters-0.1.12 app/demo/events/actions/deletes.pom
voom-presenters-0.1.11 app/demo/events/actions/deletes.pom
voom-presenters-0.1.10 app/demo/events/actions/deletes.pom
voom-presenters-0.1.9 app/demo/events/actions/deletes.pom
voom-presenters-0.1.8 app/demo/events/actions/deletes.pom
voom-presenters-0.1.7 app/demo/events/actions/deletes.pom
voom-presenters-0.1.6 app/demo/events/actions/deletes.pom