From f919497c2b590402c3cbd7744097a9bd32b70afd Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 5 Sep 2009 18:08:23 +0200 Subject: added tag resource, widget and auxillary files --- app/helpers/content_helper.rb | 4 ++++ app/helpers/tags_helper.rb | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 app/helpers/tags_helper.rb (limited to 'app/helpers') diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb index 8b16462..d9ec5db 100644 --- a/app/helpers/content_helper.rb +++ b/app/helpers/content_helper.rb @@ -16,6 +16,10 @@ module ContentHelper ) end + def tags + render :partial => 'content/tags' + end + def headline_image image = @page.assets.images.first if image diff --git a/app/helpers/tags_helper.rb b/app/helpers/tags_helper.rb new file mode 100644 index 0000000..23450bc --- /dev/null +++ b/app/helpers/tags_helper.rb @@ -0,0 +1,2 @@ +module TagsHelper +end -- cgit v1.3