diff options
Diffstat (limited to 'app/controllers/nodes_controller.rb')
| -rw-r--r-- | app/controllers/nodes_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb index b8cd644..95aed48 100644 --- a/app/controllers/nodes_controller.rb +++ b/app/controllers/nodes_controller.rb | |||
| @@ -55,6 +55,7 @@ class NodesController < ApplicationController | |||
| 55 | 55 | ||
| 56 | def show | 56 | def show |
| 57 | node = Node.find(params[:id]) | 57 | node = Node.find(params[:id]) |
| 58 | node.wipe_draft! | ||
| 58 | @page = node.draft || node.head | 59 | @page = node.draft || node.head |
| 59 | end | 60 | end |
| 60 | 61 | ||
