Sha256: ef63ea6b3a7c87a8ef5c35d0522a99ee62dc78d61ae134b93dd205173144c2c9

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

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