diff --git a/router_gen/route_impl.go b/router_gen/route_impl.go index 5099644b..fc436208 100644 --- a/router_gen/route_impl.go +++ b/router_gen/route_impl.go @@ -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")