aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/routing.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2010-07-17 11:33:08 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2010-07-17 11:33:08 -0500
commit31a8ff428869614db3cae06ab24dbdb1e3d98064 (patch)
treee050f3efeff5591ca0ab42fa70ed77443560b7ed /mediagoblin/routing.py
downloadmediagoblin-31a8ff428869614db3cae06ab24dbdb1e3d98064.tar.lz
mediagoblin-31a8ff428869614db3cae06ab24dbdb1e3d98064.tar.xz
mediagoblin-31a8ff428869614db3cae06ab24dbdb1e3d98064.zip
Initial mediagoblin structure
Diffstat (limited to 'mediagoblin/routing.py')
-rw-r--r--mediagoblin/routing.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mediagoblin/routing.py b/mediagoblin/routing.py
new file mode 100644
index 00000000..fec08370
--- /dev/null
+++ b/mediagoblin/routing.py
@@ -0,0 +1,7 @@
+from routes import Mapper
+
+mapping = Mapper()
+mapping.minimization = False
+
+mapping.connect(
+ "index", "/", controller="mediagoblin.views:root_view")