diff --git a/app/controllers/admin/settings/others_controller.rb b/app/controllers/admin/settings/others_controller.rb deleted file mode 100644 index 113d0c84ff..0000000000 --- a/app/controllers/admin/settings/others_controller.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -class Admin::Settings::OthersController < Admin::SettingsController - private - - def after_update_redirect_path - admin_settings_others_path - end -end diff --git a/app/views/admin/settings/others/show.html.haml b/app/views/admin/settings/others/show.html.haml deleted file mode 100644 index 8d0a2b1acf..0000000000 --- a/app/views/admin/settings/others/show.html.haml +++ /dev/null @@ -1,22 +0,0 @@ -- content_for :page_title do - = t('admin.settings.others.title') - -- content_for :heading do - %h2= t('admin.settings.title') - = render partial: 'admin/settings/shared/links' - -= simple_form_for @admin_settings, url: admin_settings_others_path, html: { method: :patch } do |f| - = render 'shared/error_messages', object: @admin_settings - - %p.lead= t('admin.settings.others.preamble') - - %h4= t('admin.settings.others.activitypub') - - .fields-group - = f.input :reject_pattern, wrapper: :with_block_label, as: :text, label: t('admin.settings.reject_pattern.title'), hint: t('admin.settings.reject_pattern.desc_html'), input_html: { rows: 8 } - - .fields-group - = f.input :reject_blurhash, wrapper: :with_block_label, as: :text, label: t('admin.settings.reject_blurhash.title'), hint: t('admin.settings.reject_blurhash.desc_html'), input_html: { rows: 8 } - - .actions - = f.button :button, t('generic.save_changes'), type: :submit