+++ /dev/null
-"""Routes configuration
-
-The more specific and detailed routes should be defined first so they
-may take precedent over the more generic routes. For more information
-refer to the routes manual at http://routes.groovie.org/docs/
-
-Format:
- http://www.winterrodeln.org/feed/berichte/alle
- http://www.winterrodeln.org/feed/berichte/bahn/kemater_alm
- http://www.winterrodeln.org/feed/berichte/bahnen/22+42+132
-See:
- http://www.winterrodeln.org/trac/wiki/UrlSchema
-"""
-from routes import Mapper
-
-def make_map(config):
- """Create, configure and return the routes Mapper"""
- map = Mapper(directory=config['pylons.paths']['controllers'],
- always_scan=config['debug'])
- map.minimization = False
- map.explicit = False
-
- # The ErrorController route (handles 404/500 error pages); it should
- # likely stay at the top, ensuring it can always be resolved
- map.connect('/error/{action}', controller='error')
- map.connect('/error/{action}/{id}', controller='error')
-
- # CUSTOM ROUTES HERE
-
- map.connect('/berichte/alle', controller='berichte', action='alle')
- map.connect('/berichte/{action}/{id}', controller='berichte')
-
- return map