1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Link to Phoenix in the latest til

This commit is contained in:
jbranchaud
2016-09-10 20:12:02 -05:00
parent e3789fc764
commit 89d510411d

View File

@@ -1,8 +1,8 @@
# Render A Template To A String
Templates in a Phoenix application ultimately get compiled to functions that
can be quickly rendered with the necessary data. We can take a look at how a
template will be rendered using
Templates in a [Phoenix](http://www.phoenixframework.org/) application
ultimately get compiled to functions that can be quickly rendered with the
necessary data. We can take a look at how a template will be rendered using
[`Phoenix.View.render_to_string/3`](https://hexdocs.pm/phoenix/Phoenix.View.html#render_to_string/3).
First, we need a template: