aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/routing.py
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2011-08-30 23:16:46 +0200
committerJoar Wandborg <git@wandborg.com>2011-08-30 23:16:46 +0200
commit502073f2bf65380be18b349a678ac075777889a4 (patch)
tree9472a0644926b2df8316d1f92fee53ebe58ae15c /mediagoblin/routing.py
parent7d0efbae2955cf58eed86daa30cd3507c9088269 (diff)
downloadmediagoblin-502073f2bf65380be18b349a678ac075777889a4.tar.lz
mediagoblin-502073f2bf65380be18b349a678ac075777889a4.tar.xz
mediagoblin-502073f2bf65380be18b349a678ac075777889a4.zip
Feature #403 - Ability to delete media entries - Fixes according to feedback
* Moved `mediagoblin.confirm` stuff to `mediagoblin.user_pages`, templates too. * Removed route extension for `mediagoblin.confirm` * Created `delete_media_files` which deletes all media files on the public_store when the entry is deleted * Created a new decorator to check if a user has the permission to delete an entry.
Diffstat (limited to 'mediagoblin/routing.py')
-rw-r--r--mediagoblin/routing.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mediagoblin/routing.py b/mediagoblin/routing.py
index 125f7270..f78658c5 100644
--- a/mediagoblin/routing.py
+++ b/mediagoblin/routing.py
@@ -37,6 +37,5 @@ def get_mapper():
mapping.extend(user_routes, '/u')
mapping.extend(edit_routes, '/edit')
mapping.extend(tag_routes, '/tag')
- mapping.extend(confirm_routes, '/confirm')
return mapping