Commit 8318e661 authored by April Guian's avatar April Guian

Binalik ko lang yung nagkamali ako kanina haha

parent d4f32313
......@@ -7,7 +7,7 @@ class CandidatesController < ApplicationController
def show
@candidate = Candidate.find(params[:id])
@user = @candidate.user
#@user = @candidate.user
#@users = User.all
render "candidates/show.html.erb"
end
......
......@@ -12,3 +12,9 @@
<% end %>
</ul>
<% end %>
<br>
<%= link_to "View Positions", positions_path %>
<br>
<%= link_to "View Candidates", candidates_path %>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment