Module: Sinatra::Templates
- Defined in:
- lib/tokamak/hook/sinatra.rb
Instance Method Summary collapse
Instance Method Details
#tokamak(template, options = {}, locals = {}) ⇒ Object
10 11 12 13 |
# File 'lib/tokamak/hook/sinatra.rb', line 10 def tokamak(template, ={}, locals={}) .merge! :layout => false, :media_type => response["Content-Type"] render :tokamak, template, , locals end |