Sha256: 1477344b08e3085684b9c70a2a3e6ebd01df423af499a07b41b01b49dcfbd0a7

Contents?: true

Size: 601 Bytes

Versions: 12

Compression:

Stored size: 601 Bytes

Contents

Coprl::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

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.11 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.10 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.9 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.8 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.7 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.6 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.5 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.4 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.3 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.2 app/demo/events/actions/deletes.pom
coprl-3.0.0.beta.1 app/demo/events/actions/deletes.pom