From 2a7caaa33e0d78f36a0e46ffebf2f8111359e3fc Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Fri, 10 Aug 2018 13:17:20 +0300 Subject: [PATCH] Update routes --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 63f71a344..a2b2ca790 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -23,8 +23,8 @@ Rails.application.routes.draw do namespace :registrant do post 'auth/eid', to: 'auth#eid' - resources :domains, only: [:index], param: :uuid do - resource :registry_lock, only: [:create, :destroy] + resources :domains, only: %i[index show], param: :uuid do + resource :registry_lock, only: %i[create destroy] end end end