Source

moin-2.0 / MoinMoin / apps / admin / views.py

Diff from to

MoinMoin/apps/admin/views.py

 from MoinMoin.security import require_permission
 
 @admin.route('/superuser')
+@require_permission(SUPERUSER)
 def index():
     return render_template('admin/index.html', title_name=_(u"Admin"))