mirror of
https://github.com/kataras/iris.git
synced 2025-12-31 08:47:03 +00:00
HandleDir: customize file/dir listing page through registered view engine
Former-commit-id: 98bfd9d5a073c5bc7c2c167e2a72dd7b05bfb24a
This commit is contained in:
@@ -99,7 +99,6 @@ type (
|
||||
// A shortcut for the `router.DirOptions`, useful when `FileServer` or `HandleDir` is being used.
|
||||
DirOptions = router.DirOptions
|
||||
// DirListRichOptions the options for the `DirListRich` helper function.
|
||||
// The Tmpl's "dirlist" template will be executed.
|
||||
// A shortcut for the `router.DirListRichOptions`.
|
||||
// Useful when `DirListRich` function is passed to `DirOptions.DirList` field.
|
||||
DirListRichOptions = router.DirListRichOptions
|
||||
|
||||
Reference in New Issue
Block a user