diff options
| author | hukl <contact@smyck.org> | 2009-09-10 12:01:17 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-10 12:01:17 +0200 |
| commit | 27fafacabbfa06ee9e74a14ab7687978cbe931e8 (patch) | |
| tree | bb13c5c8681281ab475feea8029395bbe2f68cd2 /app/controllers | |
| parent | 84fb60017fadaddebd14a8becc4af3ff4c589212 (diff) | |
forgot to remove the breakpoint here
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/nodes_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 | |||
| 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 | debugger | 41 | @node.errors.add_to_base("Titel zu kurz") if @node.errors["slug"] |
| 42 | #@node.errors.add_to_base("Titel zu kurz") if @node.errors["slug"] | ||
| 43 | render :new | 42 | render :new |
| 44 | end | 43 | end |
| 45 | end | 44 | end |
