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