diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-31 12:24:01 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-09-03 18:19:11 +0200 |
commit | 7ea4c793d6f6baaaaf9218ab43e545ce4e57da21 (patch) | |
tree | e02b2b71e5f6258f8b12e023817bff1c2e156861 /config | |
parent | 6ad7dac79130bb7b68ccb703739167a737ed6b49 (diff) |
Allow to show a specific status in the admin interface
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 490d9df20..90333daab 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -180,7 +180,7 @@ Rails.application.routes.draw do resource :reset, only: [:create] resource :silence, only: [:create, :destroy] resource :suspension, only: [:new, :create, :destroy] - resources :statuses, only: [:index, :create, :update, :destroy] + resources :statuses, only: [:index, :show, :create, :update, :destroy] resource :confirmation, only: [:create] do collection do |