Setting up modals for the new and edit actions in my users controller was simple, but now I want to ensure display consistency by having the user show page also appear in a modal.
Currently, users access their show page through the link:
<li><%= link_to "View Profile", current_user %></li>
located in my nav-bar.
I am looking to modify this link so that it opens the desired modal for the show action in my user controller.
I have attempted to find resources online on how to achieve this, but I seem to be searching for the wrong information. Any guidance or general outline on how to accomplish this would be highly appreciated!
This question may be vague, but I'm unsure of the next steps to take.