blob: 2c93dd1ae919f206bcc14e2e2fa2702d9e93bcc4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# coding=utf-8
from pysite.base_route import RouteView
from pysite.constants import ALL_STAFF_ROLES
from pysite.decorators import require_roles
class StaffView(RouteView):
path = "/"
name = "staff.index"
@require_roles(*ALL_STAFF_ROLES)
def get(self):
return self.render("staff/staff.html")
|