This commit is contained in:
stormand 2017-01-05 17:55:02 +08:00
parent 05e47eb286
commit a1b2802153
4 changed files with 1 additions and 5 deletions

View File

@ -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 %>

View File

@ -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