caf_text now working
redirects working for company now - although the overall structure is not clear in the app or in my mind
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<%= render @caf %>
|
||||
|
||||
<div>
|
||||
<%= link_to "Edit this caf", edit_caf_path(@caf) %> |
|
||||
<%= link_to "Back to cafs", cafs_path %>
|
||||
<%= link_to "Edit this caf", edit_company_caf_path(@caf.company_id,@caf.id) %> |
|
||||
<%= link_to "Back to cafs", company_cafs_path(@caf.company_id) %>
|
||||
|
||||
<%= button_to "Destroy this caf", @caf, method: :delete %>
|
||||
<%= button_to "Destroy this caf", company_caf_path(@caf.id), method: :delete %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user