Sha256: 19ff8efa5b1452282de1d16c8e58c37d4e06d8920c1dc1d4e9f121a7061e5275
Contents?: true
Size: 347 Bytes
Versions: 4
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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
assetify-2.0.1 | lib/assetify/gui/server.rb |
assetify-2.0.0 | lib/assetify/gui/server.rb |
assetify-1.0.0 | lib/assetify/gui/server.rb |
assetify-1.0.0.rc1 | lib/assetify/gui/server.rb |