Update utilities

This commit is contained in:
sdogruyol 2015-12-30 20:47:29 +02:00
parent 6e5d541df6
commit dff1405934

View file

@ -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"
```