more rails updates
[rails.git] / app / controllers / node_controller.rb
index cafc0f00f46eeee755ba6d0bad1b7481e08c5465..6092ddd9deadfbf3362ea4212fa047c60ba1ee73 100644 (file)
@@ -4,6 +4,13 @@ class NodeController < ApplicationController
   before_filter :authorize
 
   def create
+    @node = Node.new
+    @node.id = 1
+    @node.latitude = 1
+    @node.save
+  end
+
+  def dummy
     if request.post?
       userid = dao.useridfromcreds(r.user, r.get_basic_auth_pw)
       doc = Document.new $stdin.read