Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.455 kb
require "sinatra/base"
require "sinatra/url_for"
class CiberchApp < Sinatra::Base
helpers Sinatra::UrlForHelper
get "/" do
@me = YAML.load_file("poco.yml")
@me = Hashie::Mash.new(@me)
@full_url = url_for("/", :full)
@description = "Who is #{@me.preferred_username || @me.display_name} ?"
@image = url_for(@me.photos.first.value, :full)
@title = @me.display_name
@appid = ENV['facebook_app_id']
haml :index
end
end
Jump to Line
Something went wrong with that request. Please try again.