diff options
| author | hukl <contact@smyck.org> | 2009-09-05 18:08:23 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-05 18:08:23 +0200 |
| commit | f919497c2b590402c3cbd7744097a9bd32b70afd (patch) | |
| tree | 94961500f507a7cceec67868fe042755d94151d8 /app/helpers | |
| parent | 3c631738935199aba050223bac50416b299e16c5 (diff) | |
added tag resource, widget and auxillary files
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/content_helper.rb | 4 | ||||
| -rw-r--r-- | app/helpers/tags_helper.rb | 2 |
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 @@ | |||
| 1 | module TagsHelper | ||
| 2 | end | ||
