diff --git a/router_gen/route_impl.go b/router_gen/route_impl.go index c01ff9ba..5099644b 100644 --- a/router_gen/route_impl.go +++ b/router_gen/route_impl.go @@ -101,14 +101,6 @@ func MemberView(fname string, path string, args ...string) *RouteImpl { return route } -func ModView(fname string, path string, args ...string) *RouteImpl { - route := route(fname, path, false, false, args...) - if !route.hasBefore("AdminOnly") { - route.Before("SuperModOnly") - } - return route -} - func Action(fname string, path string, args ...string) *RouteImpl { route := route(fname, path, true, false, args...) route.Before("NoSessionMismatch")