Commit Graph

17 Commits

Author SHA1 Message Date
Sdogruyol ad571db682 Rename view.cr to templates.cr and move it under helpers 2016-08-13 17:43:18 +03:00
Sdogruyol 09d9e708f1 Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults 2016-07-17 18:11:26 +03:00
Sdogruyol b5ff93c677 Add docs 2016-07-17 14:10:56 +03:00
Sdogruyol 67abb5fff3 Allow 404 error handler to be customizable 2016-05-15 14:58:09 +03:00
sdogruyol 09439dd437 Remove unnecessary views 2016-05-05 23:54:25 +03:00
Sdogruyol 664673f125 Set content-type to text/html on errors.Fixes #130 2016-03-18 20:03:04 +02:00
Fatih Kadir Akın 8402f06bc3 Show backtrace in 500 statuses using `inspect_with_backtrace` 2016-03-08 13:43:46 +02:00
Joris Moriau 04ccb973a9 set positions for errors and logger middleware, added 2 views 2016-03-03 21:23:04 +01:00
Sdogruyol 02af920a0f Make default content-type text/html 2016-01-24 17:52:24 +02:00
Sdogruyol d1f95c0f39 All specs passing except macros 2016-01-24 12:22:25 +02:00
Ahmet Emre Aladağ 47f505ff76 Update view.cr 2016-01-05 17:35:07 +02:00
Sdogruyol 66c8b6d857 Move macros from view to macros 2015-12-14 20:05:46 +02:00
Sdogruyol 5c97942707 Add more documentation 2015-12-13 10:25:04 +02:00
Sdogruyol 21a3c6ad3c Add static file handler 2015-12-10 20:40:39 +02:00
Fatih Kadir Akın 9ade49ae20 Add layout support for render macro. It should be improved in the future. 2015-12-09 17:54:49 +02:00
Sdogruyol a67a8508cf Add worker support (experimental) 2015-12-08 22:15:13 +02:00
Fatih Kadir Akın 945fa59a6c Add render macro to kemal core to have dynamic rendering mechanism. It actually binds built-in ecr parser to the Kemal as a macro. 2015-12-06 16:55:35 +02:00