summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
-rw-r--r--config/storage.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b74623a..0237992 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,7 +9,7 @@ Rails.application.routes.draw do
post '/login', to: 'sessions#create'
delete '/logout', to: 'sessions#destroy'
get '/account', to: 'user_accounts#show'
- resources :companies, only: %i[index show create]
+ resources :companies, only: %i[index show create update]
resources :user_accounts, only: %i[create]
resources :refresh_tokens, only: %i[create]
end
diff --git a/config/storage.yml b/config/storage.yml
index 077b15d..4df6bf7 100644
--- a/config/storage.yml
+++ b/config/storage.yml
@@ -1,7 +1,7 @@
local:
service: Disk
- #root: <%= Rails.root.join("storage") %>
+ root: ./storage
test:
service: Disk
- root: <%= Rails.root.join("tmp/storage") %> \ No newline at end of file
+ root: ./tmp/storage \ No newline at end of file