Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Commit 366d706

Browse files
committed
Start adding convenience links for testing
1 parent 857cd22 commit 366d706

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/views/welcome/index.html.erb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
<h1>Welcome#index</h1>
2-
<p>Find me in app/views/welcome/index.html.erb</p>
2+
<ul>
3+
<li><%= link_to 'New Person', new_person_path %></li>
4+
<li><%= link_to 'New Project', new_project_path %></li>
5+
</ul>

config/routes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
# resources :products
2323

2424
resources :people
25+
resources :projects
2526
resources :sessions
2627

2728
# Example resource route with options:

0 commit comments

Comments
 (0)