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