From ca130d58deba6a32f5172923e8130ce3f1521e5d Mon Sep 17 00:00:00 2001 From: f Date: Sat, 11 Jun 2022 13:57:02 -0300 Subject: [PATCH] url absoluta --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 99f7cfc..742dbcc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,9 +3,10 @@ Rails.application.routes.draw do root 'application#index' - mount Blazer::Engine, at: 'blazer' + mount Blazer::Engine, at: '/blazer' resources :readings, only: %i[create] + resources :sites, only: %i[show create update] resources :users, only: %i[index create destroy] end