fix for pic
This commit is contained in:
parent
a0a0a92781
commit
5d72beeb80
|
@ -9,7 +9,7 @@
|
|||
<tbody>
|
||||
<% @classes.each do |clas| %>
|
||||
<tr>
|
||||
<% if !clas.course_pic.url.empty? %>
|
||||
<% if !clas.course_pic.url.nil? %>
|
||||
<td><img width="150px" src="<%= clas.course_pic.thumb.url %>" /></td>
|
||||
<% else %>
|
||||
<td> </td>
|
||||
|
|
Loading…
Reference in New Issue