diff options
author | Piotr Chmolowski <piotr@chmolowski.pl> | 2014-03-01 18:59:56 +0100 |
---|---|---|
committer | Piotr Chmolowski <piotr@chmolowski.pl> | 2014-03-04 15:02:58 +0100 |
commit | 1858cc60701dcfb801b9634a1da0177eaeba3807 (patch) | |
tree | 046085ccdd7c97b46e2694429ecb45642ad41008 /actionview/test/fixtures/digestor/messages | |
parent | 8ed0f542ddd1f38b0b42f595d828d2e4db9b6682 (diff) | |
download | rails-1858cc60701dcfb801b9634a1da0177eaeba3807.tar.gz rails-1858cc60701dcfb801b9634a1da0177eaeba3807.tar.bz2 rails-1858cc60701dcfb801b9634a1da0177eaeba3807.zip |
Variants in ActionView::Digestor
Take variants into account when calculating template digests in
ActionView::Digest.
Digestor#digest now takes a hash as an argument to support variants and
allow more flexibility in the future. Old-style arguments have been
deprecated.
Fixes #14242
Diffstat (limited to 'actionview/test/fixtures/digestor/messages')
-rw-r--r-- | actionview/test/fixtures/digestor/messages/new.html+iphone.erb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/actionview/test/fixtures/digestor/messages/new.html+iphone.erb b/actionview/test/fixtures/digestor/messages/new.html+iphone.erb new file mode 100644 index 0000000000..791e1d36b4 --- /dev/null +++ b/actionview/test/fixtures/digestor/messages/new.html+iphone.erb @@ -0,0 +1,15 @@ +<%# Template Dependency: messages/message %> + +<%= render "header" %> +<%= render "comments/comments" %> + +<%= render "messages/actions/move" %> + +<%= render @message.history.events %> + +<%# render "something_missing" %> +<%# render "something_missing_1" %> + +<% + # Template Dependency: messages/form +%>
\ No newline at end of file |