Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 278 Bytes
require File.dirname(__FILE__) + '/lib/common.rb'
class MountedApp < Sinatra::Base
set :app_file, __FILE__
set :logging, true
mount(Post) do
protect :index,
:username => 'bliggety',
:password => 'blam',
:realm => "Use Protection"
end
run!
end