Sha256: a8f749609358ea8883176e3369ebb2e627b32ef7ea6cb374b75b572232bf573e

Contents?: true

Size: 272 Bytes

Versions: 6

Compression:

Stored size: 272 Bytes

Contents

# encoding: utf-8

class App < Sinatra::Base
  configure do
    enable :logging
    set :app_file, __FILE__
    set :root, File.expand_path('../', __FILE__)
    set :tmp_dir,  File.join(root, 'tmp')
  end

  get '/' do
    @title = '<%= @app %>'
    slim :index
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
daiku-0.2.2 lib/daiku/_app/app.rb.tt
daiku-0.2.1 lib/daiku/_app/app.rb.tt
daiku-0.2.0 lib/daiku/_app/app.rb.tt
daiku-0.1.1 lib/daiku/_app/app.rb.tt
daiku-0.1.0 lib/daiku/_app/app.rb.tt
daiku-0.0.12 lib/daiku/_app/app.rb.tt