diff options
author | Vitaly Takmazov | 2017-03-29 13:32:10 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-03-29 13:32:10 +0300 |
commit | 2013ca7c8a174962c2c298b832b0642b845e2eac (patch) | |
tree | feacf7d453e4c1242938a4ca8b9fd64f90503a5e /juick-www/src/main/java/com/juick/www/controllers | |
parent | b8651556c21c83448e46b270ed7013f490e53a5d (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.java | 3 |
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"); |