feat: Refactoring route declarations.
This commit is contained in:
@@ -5,7 +5,7 @@ import VaporElementary
|
||||
import ViewController
|
||||
|
||||
extension ViewController {
|
||||
func respond(route: ViewRoute, request: Vapor.Request) async throws -> any AsyncResponseEncodable {
|
||||
func respond(route: SiteRoute.View, request: Vapor.Request) async throws -> any AsyncResponseEncodable {
|
||||
let html = try await view(
|
||||
for: route,
|
||||
isHtmxRequest: request.isHtmxRequest,
|
||||
|
||||
Reference in New Issue
Block a user