a11yist/app/controllers/admin/backups_controller.rb
david 63fc206c27
Some checks failed
/ Run tests (push) Successful in 8m56s
/ Run system tests (push) Failing after 1h0m48s
/ Build, push and deploy image (push) Successful in 7m47s
A lot :)
2024-09-05 22:54:38 +02:00

10 lines
234 B
Ruby

# frozen_string_literal: true
module Admin
class BackupsController < ApplicationController
# GET /admin/backups/1
def show
send_file Backup.db_xlsx, filename: "backup.xlsx", disposition: :attachment
end
end
end