observe_dispatch_rewrite/3
Rewrite a URL before it will be dispatched using the z_sites_dispatcher
Type:
Return:
#dispatch_rewrite{}
properties:
is_dir:
boolean
path:
binary
host:
unknown
Rewrite a URL before it will be dispatched using the z_sites_dispatcher
Type:
Return:
#dispatch_rewrite{}
properties:
is_dir: boolean
path: binary
host: unknown
observe_dispatch_host/2 Dispatch notifications observe_page_url/2
Dispatch rules route incoming requests to controllers.