mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Fixed code typo in README
Only found in English and Russian versions
This commit is contained in:
parent
cd685585b7
commit
c363735760
2 changed files with 2 additions and 2 deletions
|
@ -264,7 +264,7 @@ Instead of a template name, you can also just pass in the template content
|
||||||
directly:
|
directly:
|
||||||
|
|
||||||
get '/' do
|
get '/' do
|
||||||
code = "<%= Time.now >"
|
code = "<%= Time.now %>"
|
||||||
erb code
|
erb code
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -232,7 +232,7 @@ Thin - это более производительный и функциона
|
||||||
содержимое шаблона
|
содержимое шаблона
|
||||||
|
|
||||||
get '/' do
|
get '/' do
|
||||||
code = "<%= Time.now >"
|
code = "<%= Time.now %>"
|
||||||
erb code
|
erb code
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue