require 'sinatra/base'
require 'thyme'

module Thyme
  class Server < Sinatra::Base
    set :views, File.expand_path('views')

    get '/set/?' do
      @sets = Set.all(order: [:taken_at.desc])
      erb :'set/index'
    end
  end
end

require 'sinatra/base'
require 'thyme'

module Thyme
  class Server < Sinatra::Base
    set :root, File.expand_path('.')

    get '/set/?' do
      @sets = Set.all(order: [:taken_at.desc])
      erb :'set/index'
    end
  end
end

Set root path instead of views
Set root path instead of views
