Last active
August 29, 2015 14:00
-
-
Save jwinter/444ec91b3fb4ba0c4d46 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TestJsonApi::Application.routes.draw do | |
# resources :users | |
resources :tasks, except: [:new, :edit] | |
# The priority is based upon order of creation: first created -> highest priority. | |
# See how all your routes lay out with "rake routes". | |
namespace :api do | |
namespace :v1 do | |
devise_for(:users) | |
resources :tasks, except: [:new, :edit] | |
resources :users | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment