Fixed 404 page under werkzeug.routing

- Removed ?lang=<langcode> feature due to incompatibility with werkzeug
  routes in the current state of the architecture.
This commit is contained in:
Joar Wandborg
2012-10-14 20:05:44 +02:00
parent 7742dcc1fb
commit 1ec7ff2adb
4 changed files with 22 additions and 26 deletions

View File

@@ -74,7 +74,7 @@ add_route('mediagoblin.user_pages.processing_panel',
# Stray edit routes
add_route('mediagoblin.edit.edit_media',
'/u/<string:user>/m/<string:media>/edit/',
'mediagoblin.user_pages.views:edit_media')
'mediagoblin.edit.views:edit_media')
add_route('mediagoblin.edit.attachments',
'/u/<string:user>/m/<string:media>/attachments/',