How can render an html.erb
template in sintara?
For example, this works fine for a file named payment.erb
:
<%= render erb :payment %>
The file I'm trying to use is named payment.html.erb
, so what is the syntax for that render
line?
How can render an html.erb
template in sintara?
For example, this works fine for a file named payment.erb
:
<%= render erb :payment %>
The file I'm trying to use is named payment.html.erb
, so what is the syntax for that render
line?