router_gen: remove unused MemberView()

This commit is contained in:
Lars Lehtonen 2020-02-20 08:48:21 -08:00
parent 0d23e4f829
commit dac1d9a1c1
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
1 changed files with 0 additions and 8 deletions

View File

@ -93,14 +93,6 @@ func MView(fname string, path string, args ...string) *RouteImpl {
return route
}
func MemberView(fname string, path string, args ...string) *RouteImpl {
route := route(fname, path, false, false, args...)
if !route.hasBefore("SuperModOnly", "AdminOnly") {
route.Before("MemberOnly")
}
return route
}
func Action(fname string, path string, args ...string) *RouteImpl {
route := route(fname, path, true, false, args...)
route.Before("NoSessionMismatch")