Skip to content
Snippets Groups Projects
Commit 70c93023 authored by Will Billingsley's avatar Will Billingsley
Browse files

Altered paths to support running on Hopper

parent 356720c7
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,6 @@
<head>
@* Here's where we render the page title `String`. *@
<title>@title</title>
<link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")">
<link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")">
</head>
<body>
......@@ -20,6 +18,5 @@
* the page content. *@
@content
<script src="@routes.Assets.versioned("javascripts/main.js")" type="text/javascript"></script>
</body>
</html>
......@@ -4,6 +4,11 @@
# ~~~~
# An example controller showing a sample home page
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file)
GET /lavamaze/assets/*file controllers.Assets.at(path="/public", file)
GET / controllers.HomeController.index
GET /lavamaze controllers.HomeController.index
......@@ -18,5 +23,3 @@ GET /example/time controllers.ExamplesController.webSocketWith
GET /example/eventsource controllers.ExamplesController.eventSource()
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment