aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/controllers
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-29 13:32:10 +0300
committerGravatar Vitaly Takmazov2017-03-29 13:32:10 +0300
commit2013ca7c8a174962c2c298b832b0642b845e2eac (patch)
treefeacf7d453e4c1242938a4ca8b9fd64f90503a5e /juick-www/src/main/java/com/juick/www/controllers
parentb8651556c21c83448e46b270ed7013f490e53a5d (diff)
juick-www: Springify Sape
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/controllers')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
index c8e31729..3ea811a1 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
@@ -49,7 +49,8 @@ public class PageTemplates {
private static final Logger logger = LoggerFactory.getLogger(PageTemplates.class);
- public Sape sape = null;
+ @Inject
+ private Sape sape;
protected static final SimpleDateFormat sdfSQL = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
private static SimpleDateFormat sdfSimple = new SimpleDateFormat("d MMM");
private static SimpleDateFormat sdfFull = new SimpleDateFormat("d MMM yyyy");