Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 265 Bytes
require 'sinatra'
require "rack/cache"
require 'socialoud'
require 'erb'
use Rack::Cache
get '/' do
cache_control :public, :max_age => 36000
erb :index, :locals => {
:social => Socialoud::Client.configure(File.expand_path('config/socialoud.yml'))
}
end