From 758beeb2e83ca25fd157bb59302e805d74044ee0 Mon Sep 17 00:00:00 2001 From: Steve Coast Date: Wed, 16 Aug 2006 11:17:52 +0000 Subject: [PATCH] dao db and map request fixes --- app/controllers/node_controller.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/controllers/node_controller.rb b/app/controllers/node_controller.rb index 6092ddd9d..a783ea9e6 100644 --- a/app/controllers/node_controller.rb +++ b/app/controllers/node_controller.rb @@ -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 -- 2.39.5