diff options
-rw-r--r-- | app/Global.scala | 8 | ||||
-rw-r--r-- | build.sbt | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/Global.scala b/app/Global.scala new file mode 100644 index 0000000..2723d67 --- /dev/null +++ b/app/Global.scala | |||
@@ -0,0 +1,8 @@ | |||
1 | import play.api._ | ||
2 | import play.api.mvc._ | ||
3 | import play.filters.csrf.CSRFFilter | ||
4 | import play.filters.headers.SecurityHeadersFilter | ||
5 | |||
6 | object Global extends WithFilters(SecurityHeadersFilter(), CSRFFilter()) with GlobalSettings { | ||
7 | |||
8 | } | ||
@@ -12,6 +12,7 @@ lazy val root = (project in file(".")) | |||
12 | jdbc, | 12 | jdbc, |
13 | cache, | 13 | cache, |
14 | ws, | 14 | ws, |
15 | filters, | ||
15 | "com.typesafe.slick" %% "slick" % "2.1.0", | 16 | "com.typesafe.slick" %% "slick" % "2.1.0", |
16 | "com.typesafe.slick" %% "slick-extensions" % "2.1.0", | 17 | "com.typesafe.slick" %% "slick-extensions" % "2.1.0", |
17 | "postgresql" % "postgresql" % "9.1-901.jdbc4", | 18 | "postgresql" % "postgresql" % "9.1-901.jdbc4", |