Commit graph

18 commits

Author SHA1 Message Date
Serdar Dogruyol - Sedo セド
317d086b4c
fix content_for failing to capture the correct block input (#639) 2022-06-27 12:28:13 +03:00
matthewmcgarvey
d6dc893052 Fix content rendering 2022-02-24 17:49:19 +03:00
Oleh Prypin
926206a46c
Allow running specs from any directory (#609) 2021-04-11 12:17:50 +03:00
Sdogruyol
4edebcf8eb Format 2016-07-17 14:31:45 +03:00
Sdogruyol
24e0824a9b Better view_specs for layout variables 2016-07-12 00:09:01 +03:00
Sdogruyol
21b194a901 Add content_for and yield_content helpers <3. Thanks @RX14 2016-07-09 19:54:35 +03:00
Sdogruyol
73d6123f3d WIP 2016-07-09 18:57:35 +03:00
Sdogruyol
87df71a89a Refactor specs 2016-03-21 18:29:48 +02:00
Fatih Kadir Akın
8267ffe2c5 Upgrade ParamParser to make it more convinient.
It now decouples `env.params` to `env.params.query`, `env.params.body`,
`env.params.json` and `env.params.url` and you still can access merged
values using `env.params.all`
2016-03-06 13:22:24 +02:00
Joris Moriau
c5201f01ad added verb for filters and minor improvements 2016-02-17 10:34:01 +01:00
Sdogruyol
467a1b4581 Rename handlers 2016-02-03 22:08:54 +02:00
Fatih Kadir Akın
c14fb3de96 Fix view rendering for Crystal 0.11.0 2016-01-24 19:13:10 +02:00
Sdogruyol
fdf38b23c8 Update kemal.cr 2016-01-24 13:31:07 +02:00
Sdogruyol
17f944ef9d Move redirect macro to context def 2016-01-24 12:52:41 +02:00
Sdogruyol
d1f95c0f39 All specs passing except macros 2016-01-24 12:22:25 +02:00
Fatih Kadir Akın
2d4edc83dc Add test to make custom renderer macros for projects.
Add documentation
2015-12-18 10:44:47 +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
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