From 4c47711919278fc8f0c3a062dd96615d62d131a3 Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 10 Sep 2009 16:42:59 +0200 Subject: and one more tiny modification on the atom feed --- app/helpers/link_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/helpers') diff --git a/app/helpers/link_helper.rb b/app/helpers/link_helper.rb index 2d312302..e5fc6326 100644 --- a/app/helpers/link_helper.rb +++ b/app/helpers/link_helper.rb @@ -9,6 +9,10 @@ module LinkHelper ) end + def content_url_helper path_array + request.protocol + request.host_with_port + content_path_helper(path_array) + end + def link_to_path title, path, html_options = {} if params[:page_path] active = (params[:page_path].join("/") == path.sub(/^\//, "")) -- cgit v1.3