Skip to content

Commit

Permalink
Merge pull request #2031 from ember-learn/release-tutorial-5-8
Browse files Browse the repository at this point in the history
Release Tutorial 5.8
  • Loading branch information
jaredgalanis authored Jun 6, 2024
2 parents 24707e8 + 059b487 commit eb3df0b
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions guides/release/tutorial/part-1/orientation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ To verify that your installation was successful, run:

```shell
$ ember --version
ember-cli: 5.7.0
node: 18.19.1
ember-cli: 5.8.1
node: 18.20.3
os: linux x64
```

Expand All @@ -38,7 +38,7 @@ We can create a new project using Ember CLI's `new` command. It follows the patt
```shell
$ ember new super-rentals --lang en
installing app
Ember CLI v5.7.0
Ember CLI v5.8.1

Creating a new Ember app in /home/runner/work/super-rentals-tutorial/super-rentals-tutorial/dist/code/super-rentals:
create .editorconfig
Expand Down
2 changes: 1 addition & 1 deletion guides/release/tutorial/part-2/ember-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default class RentalModel extends Model {
}
```

Here, we created a `RentalModel` class that extends EmberData's `Model` superclass. When fetching the listing data from the server, each individual rental property will be represented by an instance (also known as a _[record](../../../models/finding-records/)_ of our `RentalModel` class.
Here, we created a `RentalModel` class that extends EmberData's `Model` superclass. When fetching the listing data from the server, each individual rental property will be represented by an instance (also known as a _[record](../../../models/finding-records/)_) of our `RentalModel` class.

We used the `@attr` decorator to declare the attributes of a rental property. These attributes correspond directly to the `attributes` data we expect the server to provide in its responses:

Expand Down
4 changes: 2 additions & 2 deletions guides/release/tutorial/part-2/service-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ As promised, we will now work on implementing the share button!

<!-- TODO: make this a gif instead -->

<img src="/images/tutorial/part-2/service-injection/share-button@2x.png" alt="The working share button by the end of the chapter" width="1024" height="1382">
<img src="/images/tutorial/part-2/service-injection/share-button@2x.png" alt="The working share button by the end of the chapter" width="1024" height="1390">

While adding the share button, you will learn about:

Expand Down Expand Up @@ -174,7 +174,7 @@ Let's put this component to use by invoking it from the `<Rental::Detailed>` com

With that, we should have a working share button!

<img src="/images/tutorial/part-2/service-injection/share-button@2x.png" alt="A share button that works!" width="1024" height="1382">
<img src="/images/tutorial/part-2/service-injection/share-button@2x.png" alt="A share button that works!" width="1024" height="1390">

<div class="cta">
<div class="cta-note">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-2/ember-data/detailed@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-2/ember-data/homepage@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-2/route-params/broken-links@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-2/service-injection/share-button@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb3df0b

Please sign in to comment.