Skip to content

Instantly share code, notes, and snippets.

@ahpook
Forked from miwillhite/config.ru
Created November 16, 2011 19:49
Show Gist options
  • Save ahpook/1371131 to your computer and use it in GitHub Desktop.
Save ahpook/1371131 to your computer and use it in GitHub Desktop.
require File.join(File.dirname(__FILE__), 'config', 'environment.rb')
# disable :run
run Helios
#!/usr/bin/env ruby
class Helios < Sinatra::Base
set :public, File.join(APP_ROOT, 'public')
register Sinatra::Contrib
register Sinatra::RespondWith
use Rack::AcceptHeaderUpdater
get '/docs' do
redirect '/files/concerns/fault-rb.html'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment