# encoding: utf-8
require 'sinatra'

class Grokily < Sinatra::Application

  # Not using the API? Just redirect to Github.
  get '/' do
    redirect 'https://github.com/benjaminasmith/grokily'
  end

  

end

# encoding: utf-8
require 'sinatra/base'

class Grokily < Sinatra::Base

  # Not using the API? Just redirect to Github.
  get '/' do
    redirect 'https://github.com/benjaminasmith/grokily'
  end

  run! if app_file == $0
end

Switch to the simpler Sinatra Base style - let's keep it simple for now and remove unnecessary complexity.
Switch to the simpler Sinatra Base style - let's keep it simple for now and remove unnecessary complexity.
