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, 0 insertions, 1 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb
index cfc9e7b..538e2f6 100644
--- a/app/controllers/nodes_controller.rb
+++ b/app/controllers/nodes_controller.rb
@@ -38,7 +38,6 @@ class NodesController < ApplicationController
38 @node.draft.update_attributes(:title => params[:title]) 38 @node.draft.update_attributes(:title => params[:title])
39 redirect_to(edit_node_path(@node)) 39 redirect_to(edit_node_path(@node))
40 else 40 else
41 @node.errors.add_to_base("Titel zu kurz") if @node.errors["slug"]
42 render :new 41 render :new
43 end 42 end
44 end 43 end