Permalink
Browse files

Reset old routing

  • Loading branch information...
1 parent c718746 commit 2bbfa4c34e2c98579c7d01f326041e541a2394ea @oleander oleander committed Jan 25, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 app.rb
View
@@ -15,11 +15,14 @@
end
end
-# agent: /mobile/i
-get "/" do
+get "/", agent: /mobile/i do
haml :mobile, layout: :small
end
+get "/" do
+ haml :index
+end
+
post "/validate" do
Stalker.enqueue("validate", params.merge({
uuid: request.cookies["uuid"]
@@ -28,10 +31,6 @@
halt 204, "ok"
end
-get "/" do
- haml :index
-end
-
post "/reservation" do
Stalker.enqueue("reserve.by", params.merge({
uuid: request.cookies["uuid"]

0 comments on commit 2bbfa4c

Please sign in to comment.