-
-
Save mt9304/82f7a0dca262749e14ebbd28e3b8bbaf to your computer and use it in GitHub Desktop.
Adding api
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 | |
root 'home_page#index' | |
namespace :api do | |
resources :books | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment