This commit is contained in:
parent
05e47eb286
commit
a1b2802153
|
@ -80,6 +80,7 @@
|
|||
<td><%= link_to "是",isdegree_course_path(course), class: 'btn btn-xs btn-info' %></td>
|
||||
<% end %>
|
||||
<td><td><a class="btn btn-xs btn-success" href=<%="https://courseselectofstormand.herokuapp.com#{course.excel}"%> >下载最新资料</a></td></td>
|
||||
<td><%= course.excel %></td>
|
||||
<% end %>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
class AddNewfileToCourse < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :courses, :excel, :string
|
||||
end
|
||||
end
|
Binary file not shown.
After Width: | Height: | Size: 346 KiB |
Binary file not shown.
After Width: | Height: | Size: 346 KiB |
Loading…
Reference in New Issue