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.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb
index 6d400bc..7e2b733 100644
--- a/app/controllers/nodes_controller.rb
+++ b/app/controllers/nodes_controller.rb
@@ -58,6 +58,8 @@ class NodesController < ApplicationController
58 58
59 def publish 59 def publish
60 @node.publish_draft! 60 @node.publish_draft!
61 flash[:notice] = "Draft has been published"
62 redirect_to node_path
61 end 63 end
62 64
63 def move_to 65 def move_to