changeset 756:ab4083ea79ed

frontend.views: renamed show_content to content_item
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 23 Aug 2011 09:50:39 +0200
parents d5daf53230ad
children c9381c5ce219
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Tue Aug 23 09:40:36 2011 +0200
+++ b/MoinMoin/apps/frontend/views.py	Tue Aug 23 09:50:39 2011 +0200
@@ -284,7 +284,7 @@
 
 @frontend.route('/+content/<int:rev>/<itemname:item_name>')
 @frontend.route('/+content/<itemname:item_name>', defaults=dict(rev=-1))
-def show_content(item_name, rev):
+def content_item(item_name, rev):
     """ same as show_item, but we only show the content """
     # first check whether we have a valid search query:
     search_form = SearchForm.from_flat(request.values)