]> git.openstreetmap.org Git - rails.git/commitdiff
dao db and map request fixes
authorSteve Coast <steve@asklater.com>
Wed, 16 Aug 2006 11:17:52 +0000 (11:17 +0000)
committerSteve Coast <steve@asklater.com>
Wed, 16 Aug 2006 11:17:52 +0000 (11:17 +0000)
app/controllers/node_controller.rb

index 6092ddd9deadfbf3362ea4212fa047c60ba1ee73..a783ea9e6989c7a4429d5195e715d2a268e26802 100644 (file)
@@ -4,10 +4,14 @@ class NodeController < ApplicationController
   before_filter :authorize
 
   def create
-    @node = Node.new
-    @node.id = 1
-    @node.latitude = 1
-    @node.save
+#    @node = Node.new
+#    @node.id = 1
+#    @node.latitude = 1
+#    @node.save
+
+    if request.putt?
+      @txt = resp.body
+    end
   end
 
   def dummy