Created
May 4, 2017 17:23
-
-
Save andrewsouthard1/734751d2eafcd9445f185d8efd3eb381 to your computer and use it in GitHub Desktop.
SW API routes
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
Rails.application.routes.draw do | |
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html | |
get '/figures' => 'figures#index' | |
namespace :api do | |
namespace :v1 do | |
get '/figures' => 'figures#index' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment