aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Global.scala8
-rw-r--r--build.sbt1
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 @@
1import play.api._
2import play.api.mvc._
3import play.filters.csrf.CSRFFilter
4import play.filters.headers.SecurityHeadersFilter
5
6object Global extends WithFilters(SecurityHeadersFilter(), CSRFFilter()) with GlobalSettings {
7
8}
diff --git a/build.sbt b/build.sbt
index 6fda37f..94ad485 100644
--- a/build.sbt
+++ b/build.sbt
@@ -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",