1
0
mirror of https://github.com/danbee/my-images synced 2025-03-04 08:49:05 +00:00

We don't need all these routes

This commit is contained in:
Daniel Barber 2018-08-25 12:28:52 -04:00
parent 19e61fbfd8
commit 72204a1b74
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -4,7 +4,7 @@ MyImages::Application.routes.draw do
resource :session, only: %i[new destroy]
get "/auth/:provider/callback", to: "sessions#create", as: :create_session
resource :user do
resources :images
resource :user, only: [] do
resources :images, only: %i[index create destroy]
end
end