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 ...@@ -7,7 +7,7 @@ class CandidatesController < ApplicationController
def show def show
@candidate = Candidate.find(params[:id]) @candidate = Candidate.find(params[:id])
@user = @candidate.user #@user = @candidate.user
#@users = User.all #@users = User.all
render "candidates/show.html.erb" render "candidates/show.html.erb"
end end
......
...@@ -12,3 +12,9 @@ ...@@ -12,3 +12,9 @@
<% end %> <% end %>
</ul> </ul>
<% end %> <% 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