From 4cb090a23df2917188fc813ffc9cdbd2cfafc81b Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Wed, 10 Sep 2025 09:38:18 +0200 Subject: [PATCH] Reorder --- config/routes.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index bc4e7ae14..04acc9dfb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -60,11 +60,10 @@ Rails.application.routes.draw do scope module: :notifications do get "tray", to: "trays#show", on: :collection + resource :reading, only: %i[ create destroy ] collection do resource :bulk_reading, only: :create end - - resource :reading, only: %i[ create destroy ] end end