backups
This commit is contained in:
parent
55df5bbb40
commit
fd42a3f173
8 changed files with 123 additions and 4 deletions
8
app/controllers/admin/backups_controller.rb
Normal file
8
app/controllers/admin/backups_controller.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
module Admin
|
||||
class BackupsController < ApplicationController
|
||||
# GET /admin/backups/1
|
||||
def show
|
||||
send_file Backup.db_xlsx, filename: 'backup.xlsx', disposition: :attachment
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue