From cc401c9bf20995bc4e02ba835847a7578e727d0c Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 10 Sep 2009 12:50:41 +0200 Subject: going back to raisl 2.3.3 as 2.3.4 has weird issues when translationg active record validation errors also changing the german error messages to english as the interface is english only so far --- app/controllers/nodes_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/nodes_controller.rb') 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 @node.draft.update_attributes(:title => params[:title]) redirect_to(edit_node_path(@node)) else - @node.errors.add_to_base("Titel zu kurz") if @node.errors["slug"] render :new end end -- cgit v1.3