Sha256: d96a8008a95048288e0932503558f98e368fdb0e6d6262b693345f9eda553288
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
module Snaptable module Constructor module Renderer def present render_to_string('/base', layout: false, locals: { presenter: self }).html_safe end def respond respond_to do |format| format.html format.js { render '/sort' } end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
snaptable-0.3.0 | lib/snaptable/constructor/renderer.rb |
snaptable-0.2.1 | lib/snaptable/constructor/renderer.rb |
snaptable-0.2.0 | lib/snaptable/constructor/renderer.rb |