summaryrefslogtreecommitdiff
path: root/app/controllers/nodes_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/nodes_controller.rb')
-rw-r--r--app/controllers/nodes_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb
index a23354c..0d4a3fe 100644
--- a/app/controllers/nodes_controller.rb
+++ b/app/controllers/nodes_controller.rb
@@ -57,6 +57,7 @@ class NodesController < ApplicationController
57 end 57 end
58 58
59 def update 59 def update
60 @node.update_attributes(params[:node])
60 @draft = @node.find_or_create_draft current_user 61 @draft = @node.find_or_create_draft current_user
61 @draft.tag_list = params[:tag_list] 62 @draft.tag_list = params[:tag_list]
62 if @draft.update_attributes( params[:page] ) 63 if @draft.update_attributes( params[:page] )