diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-05 23:06:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-05 23:06:29 +0200 |
commit | c7d1a2e400cd6677057a8af90fff866207576098 (patch) | |
tree | df1790bcb483f66c552bc39de116aab85b49d45c /config/routes.rb | |
parent | 660db468c09146802bd4418599cf4103ef190c10 (diff) |
Improve admin UI for accounts (#7360)
* Improve design of account statuses admin UI (consistent with reports) * Make account moderation notes look consistent with report notes * i18n-tasks remove-unused * Fix code style issues * Fix tests
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index d959301e9..90f6ac594 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -135,7 +135,7 @@ Rails.application.routes.draw do end resources :reports, only: [:index, :show, :update] do - resources :reported_statuses, only: [:create, :update, :destroy] + resources :reported_statuses, only: [:create] end resources :report_notes, only: [:create, :destroy] @@ -156,7 +156,7 @@ Rails.application.routes.draw do resource :silence, only: [:create, :destroy] resource :suspension, only: [:create, :destroy] resource :confirmation, only: [:create] - resources :statuses, only: [:index, :create, :update, :destroy] + resources :statuses, only: [:index, :create] resource :role do member do |