aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/LayoutSet/TT.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Reaction/UI/LayoutSet/TT.pm')
-rw-r--r--lib/Reaction/UI/LayoutSet/TT.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Reaction/UI/LayoutSet/TT.pm b/lib/Reaction/UI/LayoutSet/TT.pm
index 72d3fad..02b3cde 100644
--- a/lib/Reaction/UI/LayoutSet/TT.pm
+++ b/lib/Reaction/UI/LayoutSet/TT.pm
@@ -23,6 +23,7 @@ class TT is LayoutSet, which {
|| confess "tt_object not provided to new()";
my $tt_args = { data => {} };
my $name = $self->name;
+ $name =~ s/\//__/g; #slashes are not happy here...
my $fragments = $self->fragments;
my $tt_source = qq{[% VIEW ${name};\n\n}.
join("\n\n",
@@ -39,6 +40,6 @@ class TT is LayoutSet, which {
return $tt_args->{data}{view};
};
-};
+};
1;