index.html.erb 207 Bytes
Newer Older
Zac Wood's avatar
Zac Wood committed
1
2
3
4
5
6
<% if @courses.any? %>
    <%= render partial: 'shared/course', collection: @courses %>
<% else %>
    <h1>Sorry, we couldn't find anything matching your search.</h1>
    <p>Please try again!</p>
<% end %>
Zac Wood's avatar
Zac Wood committed
7