lib/routes/main.rb in gaptool-server-0.4.8 vs lib/routes/main.rb in gaptool-server-0.4.9
- old
+ new
@@ -1,9 +1,9 @@
# encoding: utf-8
class GaptoolServer < Sinatra::Application
get '/' do
- raise "You must be lost. Read the instructions."
+ "You must be lost. Read the instructions."
end
post '/redishash' do
data = JSON.parse request.body.read
redishash(data).to_json