mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-18 05:44:13 +01:00
Remove duplicate "others" settings page
This commit is contained in:
parent
026da980e7
commit
eda4ee9136
2 changed files with 0 additions and 31 deletions
|
@ -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
|
|
|
@ -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
|
|
Loading…
Reference in a new issue