Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.273 kb
# encoding: utf-8
require 'sinatra/base'
module Sinatra
module PartialPartials
def local_get(url)
call(env.merge("PATH_INFO" => url)).last.join
end
def partial( page, variables={} )
haml page, {layout:false}, variables
end
end
helpers PartialPartials
end
Jump to Line
Something went wrong with that request. Please try again.