]> ToastFreeware Gitweb - philipp/winterrodeln/wrfeed.git/blobdiff - wrfeed/config/routing.py
Remove unused files.
[philipp/winterrodeln/wrfeed.git] / wrfeed / config / routing.py
diff --git a/wrfeed/config/routing.py b/wrfeed/config/routing.py
deleted file mode 100644 (file)
index deac8e6..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-"""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