<tr class="<%= cycle "odd", "even" %>", id="<%= "deployed_application_#{deployed_application.id}" %>">
  <td><%= deployed_application.name %></td>
  <td><%= link_to deployed_application.location_name, location_deployed_applications_url(deployed_application.location) %></td>
  <td><%= deployed_application.brigade_name %></td>
  <td><%= link_to 'Show App', deployed_application_url(deployed_application), :class => "show-button" %></td>
</tr>

<tr class="<%= cycle "odd", "even" %>", id="<%= "deployed_application_#{deployed_application.id}" %>">
  <td><%= deployed_application.name %></td>
  <td><%= link_to deployed_application.location_name, location_deployed_applications_url(deployed_application.location) %></td>
  <td><%= link_to deployed_application.brigade_name, brigade_url(deployed_application.brigade) %></td>
  <td><%= link_to 'Show App', deployed_application_url(deployed_application), :class => "show-button" %></td>
</tr>

Add url to brigade in deployed_applications partial
Add url to brigade in deployed_applications partial