diff options
| author | hukl <contact@smyck.org> | 2009-07-18 16:37:37 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-07-18 16:37:37 +0200 |
| commit | 13511ec58abaf80f5c37656399c3a6fd867ba4b1 (patch) | |
| tree | 388b72168a3899666a2b56a91afa31840baf4da2 | |
| parent | 990b21cce8238a0da0a260b2b3e366bf1e4a65f6 (diff) | |
cleaned up the Page#public_link method
| -rw-r--r-- | app/models/page.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/page.rb b/app/models/page.rb index d677073..49ac586 100644 --- a/app/models/page.rb +++ b/app/models/page.rb | |||
| @@ -111,7 +111,7 @@ class Page < ActiveRecord::Base | |||
| 111 | end | 111 | end |
| 112 | 112 | ||
| 113 | def public_link | 113 | def public_link |
| 114 | "#{I18n.locale}/#{node.unique_name}" | 114 | node.unique_name |
| 115 | end | 115 | end |
| 116 | 116 | ||
| 117 | def clone_attributes_from page | 117 | def clone_attributes_from page |
