aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/fixtures/layouts
Commit message (Collapse)AuthorAgeFilesLines
* fix(streaming_template_renderer): I18n.locale broken in layout. I18n gem ↵mfo2017-11-251-0/+2
| | | | stores the current locale in Thread.current[:local] (see: https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L23). StreamingTemplateRenderer is implemented with Fiber which have its own stack of locals and can not access Thread.current.locals(keys, see: https://ruby-doc.org/core-2.2.0/Thread.html#class-Thread-label-Fiber-local+vs.+Thread-local).
* Add Html template handler that wraps Raw output in an OutputBufferSantiago Pastorino2016-01-051-0/+2
| | | | | | | This fixes the case when you try to render an html you know safe and the file is named something.html. With this commit the content of the html won't be escaped anymore because AV won't use Raw handler and choose Html handler instead.
* fix ActionView::Template::Error when using Streaming with capture.yuuji.yaginuma2015-03-011-0/+6
| | | | can't acquire a encoding from StreamingBuffer. fixes #12001
* Remove unneeded test fixtures in AVPiotr Sarnacki2013-06-207-15/+0
|
* Move template tests from actionpack to actionviewPiotr Sarnacki2013-06-2016-0/+32