summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-03-21 15:00:25 +0100
committerhukl <contact@smyck.org>2009-03-21 15:00:25 +0100
commitd3fa60e6c78f99d498be6f47ae195e35a40a5a8a (patch)
tree2e63ff3757172af70659ad3baa57af6f6b2e62fb /app
parentedc9b28bedc69eb0b3918967b03a26d15368150c (diff)
do not truncate title anymore
Diffstat (limited to 'app')
-rw-r--r--app/helpers/nodes_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/nodes_helper.rb b/app/helpers/nodes_helper.rb
index bd54d3d..63db995 100644
--- a/app/helpers/nodes_helper.rb
+++ b/app/helpers/nodes_helper.rb
@@ -2,9 +2,9 @@ module NodesHelper
2 2
3 def title_for_node node 3 def title_for_node node
4 if node.head 4 if node.head
5 truncate(node.head.title, :length => 50) 5 node.head.title
6 else 6 else
7 truncate(node.draft.title, :length => 50) 7 node.draft.title
8 end 8 end
9 end 9 end
10 10