diff options
author | alpaca-tc <alpaca-tc@alpaca.tc> | 2017-05-24 02:45:43 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-23 19:45:43 +0200 |
commit | 7ee5fc5d68df5d09262c2c29b7926fcbd2794c1d (patch) | |
tree | bf99e9eea805d034f35c6f0a738ff887cbb40a89 /config | |
parent | 4289ed1d13b9c3b91663581c44635105c4bc0412 (diff) |
Toggle sensitive from admin page (#3261)
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en.yml | 4 | ||||
-rw-r--r-- | config/routes.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 8b38dd4b1..c27dfb0e5 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -160,6 +160,10 @@ en: title: Reports unresolved: Unresolved view: View + nsfw: + 'true': NSFW ON + 'false': NSFW OFF + are_you_sure: Are you sure? settings: contact_information: email: Enter a public e-mail address diff --git a/config/routes.rb b/config/routes.rb index 81c205daa..7db3c74b1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -80,7 +80,7 @@ Rails.application.routes.draw do resources :instances, only: [:index] resources :reports, only: [:index, :show, :update] do - resources :reported_statuses, only: :destroy + resources :reported_statuses, only: [:update, :destroy] end resources :accounts, only: [:index, :show] do |