From 27fafacabbfa06ee9e74a14ab7687978cbe931e8 Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 10 Sep 2009 12:01:17 +0200 Subject: forgot to remove the breakpoint here --- app/controllers/nodes_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/controllers/nodes_controller.rb') diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb index b34c19e..cfc9e7b 100644 --- a/app/controllers/nodes_controller.rb +++ b/app/controllers/nodes_controller.rb @@ -38,8 +38,7 @@ class NodesController < ApplicationController @node.draft.update_attributes(:title => params[:title]) redirect_to(edit_node_path(@node)) else - debugger - #@node.errors.add_to_base("Titel zu kurz") if @node.errors["slug"] + @node.errors.add_to_base("Titel zu kurz") if @node.errors["slug"] render :new end end -- cgit v1.3