Skip to content

Instantly share code, notes, and snippets.

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)