Skip to content
Snippets Groups Projects
Commit 44429142 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

adding curator and admin routes

parent b1c35d23
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,15 @@ Rails.application.routes.draw do ...@@ -19,7 +19,15 @@ Rails.application.routes.draw do
end end
end end
resources :users resources :users do
resource :admin, only: [:create, :destroy]
resource :curator, only: [:create, :destroy]
collection do
get :curators
get :admins
end
end
resources :highlights resources :highlights
resources :carousels resources :carousels
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment