summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-05 18:08:23 +0200
committerhukl <contact@smyck.org>2009-09-05 18:08:23 +0200
commitf919497c2b590402c3cbd7744097a9bd32b70afd (patch)
tree94961500f507a7cceec67868fe042755d94151d8 /app/helpers
parent3c631738935199aba050223bac50416b299e16c5 (diff)
added tag resource, widget and auxillary files
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/content_helper.rb4
-rw-r--r--app/helpers/tags_helper.rb2
2 files changed, 6 insertions, 0 deletions
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
16 ) 16 )
17 end 17 end
18 18
19 def tags
20 render :partial => 'content/tags'
21 end
22
19 def headline_image 23 def headline_image
20 image = @page.assets.images.first 24 image = @page.assets.images.first
21 if image 25 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 @@
1module TagsHelper
2end