diff options
| author | 2018-05-18 16:00:31 +0100 | |
|---|---|---|
| committer | 2018-05-18 16:00:31 +0100 | |
| commit | e1846928439aa2a7e660d870a083872c415c274d (patch) | |
| tree | e716f3466ca3914f80b2ca102d5d345658af7bc8 /pysite/views/staff/index.py | |
| parent | Update wiki footer in line with main site (diff) | |
[Jams] Huge amount of work on code jam admin area
Diffstat (limited to '')
| -rw-r--r-- | pysite/views/staff/index.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pysite/views/staff/index.py b/pysite/views/staff/index.py index fc05f1a7..a090ebdd 100644 --- a/pysite/views/staff/index.py +++ b/pysite/views/staff/index.py @@ -9,12 +9,12 @@ from pysite.decorators import require_roles  class StaffView(RouteView):      path = "/" -    name = "staff_index" +    name = "index"      @require_roles(*ALL_STAFF_ROLES)      def get(self):          return self.render( -            "staff/staff.html", manager=self.is_table_editor(), +            "staff/index.html", manager=self.is_table_editor(),              app_config=pformat(current_app.config, indent=4, width=120)          )  |