]> cat aescling's git repositories - mastodon.git/commit
Add ability to delete files uploaded for settings in admin UI (#13192)
authorThibG <thib@sitedethib.com>
Sun, 8 Mar 2020 15:00:24 +0000 (16:00 +0100)
committerGitHub <noreply@github.com>
Sun, 8 Mar 2020 15:00:24 +0000 (16:00 +0100)
commit2423d2f6772da39c0a76612dd2be299c445eb9f8
treee9d0aa81170f7d780bf6ed56a0008b2c0ba1444c
parent4063f9f27805de0a12904071e521094122b9f725
Add ability to delete files uploaded for settings in admin UI (#13192)

* Allow deleting site uploads

* Refactor and move links into hints

* Fix i18n tests

* Fix HTML output of site_upload_delete_hint
app/controllers/admin/site_uploads_controller.rb [new file with mode: 0644]
app/helpers/admin/settings_helper.rb [new file with mode: 0644]
app/policies/settings_policy.rb
app/views/admin/settings/edit.html.haml
config/locales/en.yml
config/routes.rb