Sha256: c0a7828d3d347a6705638edd4684a60acfd4a984770a450b825163f44f085afe

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

require 'sinatra'
require 'sinatra/reloader'

configure :development, :test do
  require 'pry'
end

configure do
  set :views, 'app/views'
end

Dir[File.join(File.dirname(__FILE__), 'lib', '**', '*.rb')].each do |file|
  require file
  also_reload file
end

get '/' do
  @title = "Hello World"
  erb :index
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
make_it_so-0.0.4 app.rb