lib/assetify/gui/server.rb in assetify-2.0.1 vs lib/assetify/gui/server.rb in assetify-3.0.0
- old
+ new
@@ -5,21 +5,20 @@
@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"
+ 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"
+ body 'OK'
end
get '/i' do
end
-
get '/u' do
end