]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Template/Plugin/L.pm
Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render
[mfinanz.git] / SL / Template / Plugin / L.pm
index 4ed65ab291ce78c8ecda644a452b1ec2cb70e8b4..09eaf7227e02c4b5c70696a0b0034a0aebeaf81d 100644 (file)
@@ -6,6 +6,8 @@ use List::MoreUtils qw(apply);
 use List::Util qw(max);
 use Scalar::Util qw(blessed);
 
+use SL::Presenter;
+
 use strict;
 
 { # This will give you an id for identifying html tags and such.
@@ -675,9 +677,7 @@ sub paginate_controls {
     },
   );
 
-  my $output;
-  $controller->_template_obj->process('templates/webpages/common/paginate.html', \%template_params, \$output);
-  return $output;
+  return SL::Presenter->get->render('common/paginate', %template_params);
 }
 
 1;