Sha256: a5912653be516b36dddd07c58c4c671ae03276d506ff1c35c04445b45b6e3c9f

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

require "bundler/setup"
require "sinatra"
require "rack/csrf"

Dir.glob(File.join("helpers", "**", "*.rb")).each do |helper|
  require_relative helper
end

require "sinatra/reloader" if development?

use Rack::Session::Cookie, :secret => "TODO: CHANGE ME"
use Rack::Csrf, :raise => true

get "/" do
  erb :index
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hoboken-0.0.1 lib/hoboken/templates/classic.rb.tt