Class: AdminSendFileController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- AdminSendFileController
- Defined in:
- app/controllers/admin_send_file_controller.rb
Instance Method Summary collapse
Instance Method Details
#download ⇒ Object
5 6 7 |
# File 'app/controllers/admin_send_file_controller.rb', line 5 def download send_file params[:chemin], :type=>"video/x-msvideo", :x_sendfile=>true end |
#index ⇒ Object
2 3 |
# File 'app/controllers/admin_send_file_controller.rb', line 2 def index end |