From dff1405934214c77f65109ad4a151632341ded2a Mon Sep 17 00:00:00 2001 From: sdogruyol Date: Wed, 30 Dec 2015 20:47:29 +0200 Subject: [PATCH] Update utilities --- _docs/utilities.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_docs/utilities.md b/_docs/utilities.md index d86283e..bcc67d8 100644 --- a/_docs/utilities.md +++ b/_docs/utilities.md @@ -15,3 +15,11 @@ Just like other things in `kemal`, browser redirection is super simple as well. end ``` _Make sure to receive `env` as param in defined route's block or you might end-up having compile-time errors._ + +## Custom Public Folder + +Kemal mounts `./public` root path of the project as the default public asset folder. You can change this by using `public_folder`. + +```ruby + public_folder "path/to/your/folder" +```