Sha256: 5a6af9afc4b168a3ce42fb9accc51cb9958e09ea0d09a6479723228707aceb14
Contents?: true
Size: 440 Bytes
Versions: 8
Compression:
Stored size: 440 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../tokamak.rb') unless defined? ::Tokamak require "tokamak/hook/tilt" module Tokamak module Hook module Sinatra module ::Sinatra::Templates def tokamak(template, options={}, locals={}) options.merge! :layout => false, :media_type => response["Content-Type"] render :tokamak, template, options, locals end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems