2

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?

James Chevalier
  • 10,604
  • 5
  • 48
  • 74
Martin
  • 134
  • 1
  • 2
  • 12

0 Answers0