Browse Source

Fixed diversion by rebase

Alois Mahdal (@azzgoat) 11 years ago
parent
commit
189f42a26a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/SugarTrail.pm

+ 1
- 1
lib/SugarTrail.pm View File

26
             $format eq 'html' ? 'text/html' : 'text/plain'
26
             $format eq 'html' ? 'text/html' : 'text/plain'
27
     ));
27
     ));
28
 
28
 
29
-    my $m = $r->load_stm( stm => "/$stpath.stm" )
29
+    my $m = $r->load_master( source => "/$stpath.stm" )
30
         or return template 'not_found';
30
         or return template 'not_found';
31
     my $s = $m->generate_slave(scalar params);
31
     my $s = $m->generate_slave(scalar params);
32
 
32