Sha256: 6ebc3cbdc4a0aff7f5bf7b6b23d3f9a3eef848f741caeda5ae907d208c37582e

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

require 'sinatra'
require 'erb'

get '/' do
  @assets = Asset.all
  erb :"home.html"
end

get '/new' do
  headers = {} # "Allow"   => "BREW, POST, GET, PROPFIND, WHEN",  "Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
  body "T#{Time.now.to_i}"
end

post '/edit' do
  puts params

  body 'OK'
end

get '/i' do
end

get '/u' do
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
assetify-3.0.0 lib/assetify/gui/server.rb