[wellwell-devel] [wellwell] Pass attributes fed into [compose] as values to Template::Flute.
Stefan Hornburg
wellwell-devel at rt.icdevgroup.org
Sun Jan 8 13:42:25 UTC 2012
commit 463fc7dde7c0c7466c38304f120dc36961802808
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Sun Jan 8 08:41:35 2012 -0500
Pass attributes fed into [compose] as values to Template::Flute.
lib/WellWell/Compose/Component/Flute.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/WellWell/Compose/Component/Flute.pm b/lib/WellWell/Compose/Component/Flute.pm
index eb22fc2..36e3707 100644
--- a/lib/WellWell/Compose/Component/Flute.pm
+++ b/lib/WellWell/Compose/Component/Flute.pm
@@ -66,7 +66,8 @@ sub process {
$filters{link} = \&WellWell::Filter::Link::filter;
$flute = new Template::Flute (template => $html_object, filters => \%filters,
- database => $self->{database});
+ values => $attributes,
+ database => $self->{database});
# call component load subroutine
$subname = "component_$self->{name}_load";
More information about the wellwell-devel
mailing list