#{get 'moreStyles' /} file paths do not respect change to staticDir:public in routes

Bug #526847 reported by nosretep
6
This bug affects 1 person
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="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" media="screen" href="/assets/stylesheets/main.css">
         <link rel="stylesheet" href="/public/playmanual/manual.css" type="text/css" media="screen" charset="utf-8">
        <link rel="shortcut icon" type="image/png" href="/assets/images/favicon.png">
        <script src="/assets/javascripts/jquery-1.4.min.js" type="text/javascript" charset="utf-8"></script>

            </head>

------------

Notice the href for /public/playmanual/manual.css

Cheers

Revision history for this message
Guillaume Bort (guillaume-bort) wrote :

It was a bug in the welcome.html tag.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.