Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

miron miron

🏠
Working from home
View GitHub Profile
View contact-form.rb
# 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
You can’t perform that action at this time.