Closed tifidy closed 6 years ago
Question is simple Is there a way to do that with annotations?
I need {prefix}.{@Get("url")}.controllerMethod how can I automize that?
@Controller(prefix="foobar") on the class itself works for me
@Controller(prefix="foobar")
@Controller("bars", prefix="foo") creates routes for example like foo/bars/create but the route name is still without prefix! it's bars.create
@Controller("bars", prefix="foo")
foo/bars/create
bars.create
Question is simple Is there a way to do that with annotations?
I need {prefix}.{@Get("url")}.controllerMethod how can I automize that?