Skip to content

Commit 5e9ec5b

Browse files
committed
Merge pull request learn-co-students#8 from learn-co-curriculum/fix
Fix readme to reflect the routes being tested
2 parents 6afc8c9 + e481b5c commit 5e9ec5b

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.learn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ tags:
55
languages:
66
- ruby
77
- html
8+
resources: 0

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ In this lab, you'll practice building forms in Sinatra by creating a basketball
1212

1313
3. Make a form
1414

15-
Create a route that responds to a GET request at `/team`.
16-
Add a form to the `team.erb` template and render it in the GET `/team` route.
15+
Create a route that responds to a GET request at `/newteam`.
16+
Add a form to the `newteam.erb` template and render it in the GET `/newteam` route.
1717
The form should have fields for:
1818
Team name ('name')
1919
Coach ('coach')
@@ -31,11 +31,11 @@ In this lab, you'll practice building forms in Sinatra by creating a basketball
3131

3232
Create a route that responds to a POST request at `/team`
3333
Have the form send a POST request to this route.
34-
Upon submission, pass the submitted data to the `newteam.erb` template.
34+
Upon submission, pass the submitted data to the `team.erb` template.
3535

3636
5. Final Output
3737

38-
Update the `newteam.erb` template so when you post to this form, it displays the name of the team and each member of the team.
38+
Update the `team.erb` template so when you post to this form, it displays the name of the team and each member of the team.
3939

4040
Your view should display something like this:
4141

0 commit comments

Comments
 (0)