summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-05 18:07:44 +0200
committerhukl <contact@smyck.org>2009-09-05 18:07:44 +0200
commit3c631738935199aba050223bac50416b299e16c5 (patch)
treee659ebb6a6caa23a92f8cef77298330ea7b85334 /app
parent2df933b6b726526689cbcb55a8614d2992973081 (diff)
prepend public_link with slash
Diffstat (limited to 'app')
-rw-r--r--app/models/page.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/page.rb b/app/models/page.rb
index 8583071..2641316 100644
--- a/app/models/page.rb
+++ b/app/models/page.rb
@@ -114,7 +114,7 @@ class Page < ActiveRecord::Base
114 end 114 end
115 115
116 def public_link 116 def public_link
117 node.unique_name 117 "/#{node.unique_name}"
118 end 118 end
119 119
120 def clone_attributes_from page 120 def clone_attributes_from page