projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37bd297
)
dao db and map request fixes
author
Steve Coast
<steve@asklater.com>
Wed, 16 Aug 2006 11:17:52 +0000
(11:17 +0000)
committer
Steve Coast
<steve@asklater.com>
Wed, 16 Aug 2006 11:17:52 +0000
(11:17 +0000)
app/controllers/node_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/node_controller.rb
b/app/controllers/node_controller.rb
index 6092ddd9deadfbf3362ea4212fa047c60ba1ee73..a783ea9e6989c7a4429d5195e715d2a268e26802 100644
(file)
--- 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