mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Rename one of the two 'Inline Templates' sections to 'Embedded Templates'.
This commit is contained in:
parent
a0f47170d5
commit
705c93f06b
1 changed files with 2 additions and 2 deletions
|
@ -560,13 +560,13 @@ Now you can render CoffeeScript templates:
|
|||
|
||||
Renders <tt>./views/application.coffee</tt>.
|
||||
|
||||
=== Inline Templates
|
||||
=== Embedded Templates
|
||||
|
||||
get '/' do
|
||||
haml '%div.title Hello World'
|
||||
end
|
||||
|
||||
Renders the inlined template string.
|
||||
Renders the embedded template string.
|
||||
|
||||
=== Accessing Variables in Templates
|
||||
|
||||
|
|
Loading…
Reference in a new issue