-
-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2074 from MLHale/patch-1
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,8 +65,9 @@ Let's try it out by editing the index template: | |
<h2>Welcome to Super Rentals!</h2> | ||
<p>We hope you find exactly what you're looking for in a place to stay.</p> | ||
<LinkTo @route="about" class="button">About Us</LinkTo> | ||
</div> | ||
</Jumbo> | ||
</div> | ||
``` | ||
|
||
## Refactoring Existing Code | ||
|
@@ -90,8 +91,8 @@ Let's do the same for our other two pages as well. | |
AND building Ember applications. | ||
</p> | ||
<LinkTo @route="contact" class="button">Contact Us</LinkTo> | ||
</div> | ||
</Jumbo> | ||
</div> | ||
``` | ||
|
||
```handlebars { data-filename="app/templates/contact.hbs" data-diff="-1,-2,+3,-19,+20" } | ||
|
@@ -113,8 +114,8 @@ Let's do the same for our other two pages as well. | |
<a href="mailto:[email protected]">[email protected]</a> | ||
</address> | ||
<LinkTo @route="about" class="button">About</LinkTo> | ||
</div> | ||
</Jumbo> | ||
</div> | ||
``` | ||
|
||
After saving, everything should look exactly the same as before, and all the tests should still pass. Very nice! | ||
|