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
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue