Added a base 404 handler. You can now add 404 handling by creating a 404.html file in your root of templates.
Also, began working on better error handling by removing map_sql_error for all diesel calls. It is now done through a from<diesel::result::error> impl on CustomHttpError.
Added some documentation in the README.md for this too.
Added a base 404 handler. You can now add 404 handling by creating a
404.html
file in your root oftemplates
.Also, began working on better error handling by removing
map_sql_error
for all diesel calls. It is now done through afrom<diesel::result::error>
impl onCustomHttpError
.Added some documentation in the README.md for this too.
Closes #14