프로필 스카 폴드 (그리고 Devise로 생성 된 사용자)가 있고, 각 사용자는 하나의 프로필을 가지고 있으며 내 application.html.erb에서 단일 사용자 프로필에 대한 링크를 표시하려고합니다.Application.html.erb의 링크를 다른보기에 추가하는 방법은 무엇입니까?
문제는, /views/profiles/index.html.erb에서 작동하지만 내가 놓친 거지 무슨
<td><%= link_to 'Show', profile %></td>
<td><%= link_to 'Edit', edit_profile_path(profile) %></td>
/layouts/application.html.erb
에서 작동하지 않습니다이 코드?
앤드류 감사합니다. – iCyborg