Skip to content

Instantly share code, notes, and snippets.

View PatTheSilent's full-sized avatar
:octocat:

Patryk D. Cichy PatTheSilent

:octocat:
View GitHub Profile
# See blog post at http://vitobotta.com/sinatra-contact-form-jekyll/
%w(rubygems sinatra liquid active_support/secure_random resolv open-uri pony haml).each{ |g| require g }
APP_ROOT = File.join(File.dirname(__FILE__), '..')
set :root, APP_ROOT
set :views, File.join(APP_ROOT, "_layouts")
not_found do