sameera207
sameera207

Reputation: 16629

Liquid - rails - render_component issue

In my next rails project I want to use liquid pages (so that my graphic designer can do his stuff without bothering be :D) By my question is

will i be able to use

render_component and render :partial commands inside my liquid layout. If possible how

thanks in advance

cheers, sameera

Upvotes: 0

Views: 353

Answers (1)

Simone Carletti
Simone Carletti

Reputation: 176412

Liquid provides an include tag you can use inside a template to include external templates. However, it isn't equiparable to the render component or partial feature in Rails.

Also, render component has been deprecated times ago. You shouldn't use it.

Upvotes: 1

Related Questions