a11yist/app/controllers/admin/backups_controller.rb

9 lines
203 B
Ruby
Raw Normal View History

2024-07-24 01:48:27 +02:00
module Admin
class BackupsController < ApplicationController
# GET /admin/backups/1
def show
send_file Backup.db_xlsx, filename: 'backup.xlsx', disposition: :attachment
end
end
end