dao db and map request fixes
This commit is contained in:
parent
37bd2971b4
commit
758beeb2e8
1 changed files with 8 additions and 4 deletions
|
@ -4,10 +4,14 @@ class NodeController < ApplicationController
|
||||||
before_filter :authorize
|
before_filter :authorize
|
||||||
|
|
||||||
def create
|
def create
|
||||||
@node = Node.new
|
# @node = Node.new
|
||||||
@node.id = 1
|
# @node.id = 1
|
||||||
@node.latitude = 1
|
# @node.latitude = 1
|
||||||
@node.save
|
# @node.save
|
||||||
|
|
||||||
|
if request.putt?
|
||||||
|
@txt = resp.body
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def dummy
|
def dummy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue