Sha256: c971459a90a6307950d1727c8a40bec00cd3faecc2acd149c36a2c69d425e963
Contents?: true
Size: 588 Bytes
Versions: 15
Compression:
Stored size: 588 Bytes
Contents
Voom::Presenters.define(:updates_action) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :events_drawer indented_grid do heading 'Updates' body 'Issues a PUT to a given url', 'Generally used to update a restful resource.' body '*Note: Will generate a 404.*' title 'Updates' body 'issues a PUT to the passed path' content do button 'updates' do event :click do # This goes nowhere updates 'updatepath', {optional: :params} end end end end attach :code, file: __FILE__ end
Version data entries
15 entries across 15 versions & 1 rubygems