Changeset bbaed7d in osmose-frontend


Ignore:
Timestamp:
Oct 11, 2014 8:04:16 PM (5 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Children:
beb3922
Parents:
9150aa4
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (11/10/2014 20:03:35)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (11/10/2014 20:04:16)
Message:

Fix 404 page with bottle 0.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • views/404.tpl

    r32fbb9f rbbaed7d  
    33<p>File does not exist.</p> 
    44<ul> 
    5 %import bottle, urllib, cgi 
    6 % routes = bottle.default_app().router.rules.keys() 
     5%import bottle, urllib 
     6% routes = [i[0] for i in bottle.default_app().router.dyna_routes["GET"]] 
     7% routes.extend(bottle.default_app().router.static["GET"]) 
    78% routes.sort() 
    89%for rule in routes: 
Note: See TracChangeset for help on using the changeset viewer.