recruitment/app/views/recruitments/show.html.erb

6 lines
182 B
Plaintext

<% data = action_data("get_show_type") %>
<% if data["type"] == "jobs" %>
<%= render_view %>
<% elsif data["type"] == "candidates" %>
<%= render_view("candidate_show") %>
<% end %>