Browse Source

Added ::Master::source()

Simply prints STM source
Alois Mahdal (@azzgoat) 11 years ago
parent
commit
a577527691
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/SugarTrail/Template/Master.pm

+ 2
- 0
lib/SugarTrail/Template/Master.pm View File

@@ -120,4 +120,6 @@ sub mkmymime {
120 120
     return join $d1, @t;
121 121
 }
122 122
 
123
+sub source { return $_[0]->{text} }
124
+
123 125
 1;