Skip to content

Commit 6fe9daf

Browse files
authored
Merge pull request #97 from dwijnand/remove-webui
Remove the web UI without losing the non-UI routes
2 parents 270380a + 4b906c3 commit 6fe9daf

File tree

9 files changed

+4
-168
lines changed

9 files changed

+4
-168
lines changed

gui/app/controllers/Dashboard.scala

-72
This file was deleted.

gui/app/controllers/Scabot.scala

+3
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,7 @@ class Scabot @Inject() (val system: ActorSystem) extends Controller with GithubS
8383
def handleWith[T](handler: T => String)(implicit reader: JsonReader[T], request: Request[JsValue]): Try[String] =
8484
Try(handler(reader.read(request.body)))
8585

86+
def index = PlayAction {
87+
Ok("ohi scabot")
88+
}
8689
}

gui/app/views/break.scala.html

-7
This file was deleted.

gui/app/views/index.scala.html

-9
This file was deleted.

gui/app/views/main.scala.html

-13
This file was deleted.

gui/app/views/prList.scala.html

-21
This file was deleted.

gui/app/views/pulls.scala.html

-5
This file was deleted.

gui/conf/routes

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
POST /jenkins controllers.Scabot.jenkins
22
POST /github controllers.Scabot.github
33

4-
GET /dashboard controllers.Dashboard.index
5-
GET /dashboard/pulls controllers.Dashboard.pulls
6-
GET /dashboard/break/:by controllers.Dashboard.break(by: String)
7-
8-
GET /dashboard/assets/*file controllers.Assets.versioned(path="/public", file: Asset)
4+
GET / controllers.Scabot.index

gui/public/stylesheets/main.css

-36
This file was deleted.

0 commit comments

Comments
 (0)