#{get 'moreStyles' /} file paths do not respect change to staticDir:public in routes
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Unassigned | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
With a fresh application, If I add the following to routes, and run:
GET /assets/ staticDir:public
I see the following (excerpt of head tag) as output from the main.html template:
<head>
<title>Your application is ready !</title>
<meta http-equiv=
<link rel="stylesheet" type="text/css" media="screen" href="/
<link rel="stylesheet" href="/
<link rel="shortcut icon" type="image/png" href="/
<script src="/assets/
</head>
------------
Notice the href for /public/
Cheers
It was a bug in the welcome.html tag.