Skip to content

2.0.14

Compare
Choose a tag to compare
@GBH GBH released this 09 Apr 00:58
· 103 commits to master since this release

Content tags have support for nested hashes and arrays. For example:

{{ cms:partial "path/to/partial", foo: { a: b, c: d }, bar: [a, b, c] }}

Will translate to:

<%= render partial: "path/to/partial", locals: {"foo" => {"a" => "b", "c" => "d"}, "bar" => ["a", "b", "c"] } %>

Keep in mind that hash keys and values are always going to be strings

Also fixed how AS variants are using image magic options. See rails/rails#31518 for details