a11yist/app/controllers/admin/backups_controller.rb

11 lines
234 B
Ruby
Raw Normal View History

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