Basic Challenge: Configure Show View
Make some modifications to the "show" view.
We'll cover the following
Problem statement
With index.html.erb
restructured, you can no longer Edit
and Delete
links. In this challenge you must:
- Configure
app/views/links/show.html.erb
to displayEdit
andDelete
options for links. - Make sure that only the user associated with the link has access to these options.
Note: Be mindful of user sign-in status
Implementation
Get hands-on with 1200+ tech skills courses.