Sha256: a5b618fa7afb4f5efb1625363b4fb5c638f764c2febb9e8fab4165df80b2814e
Contents?: true
Size: 317 Bytes
Versions: 2
Compression:
Stored size: 317 Bytes
Contents
require 'sinatra' require 'sinatra/activerecord' require 'sinatra/reloader' configure :development, :test do require 'pry' end configure do set :views, 'app/views' end Dir[File.join(File.dirname(__FILE__), 'app', '**', '*.rb')].each do |file| require file also_reload file end get '/' do erb :index end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinatra-cli-0.0.2 | templates/app.rb |
sinatra-cli-0.0.1 | templates/app.rb |