Skip to content

Commit

Permalink
Improve tutorial (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
visini authored May 16, 2024
1 parent 0c66d04 commit fd3f027
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you've used Jbuidler, this should look familiar. Here, we're using
[props_template]: https://github.com/thoughtbot/props_template

```ruby
json.body
json.body do
json.greet "Hello world"
end

Expand Down Expand Up @@ -196,7 +196,7 @@ But first! A quick dive into [props_template]. Click on the tabs to see what hap
when `@path` changes for the example below.

```ruby
json.data(@path) do
json.data(search: @path) do
json.body do
json.chart do
sleep 10
Expand Down Expand Up @@ -314,7 +314,7 @@ How should we improve the user experience?
#### **`show.json.props`**

```ruby
json.body
json.body do
sleep 5
json.greet "Hello world"
end
Expand Down

0 comments on commit fd3f027

Please sign in to comment.