Skip to content

Instantly share code, notes, and snippets.

@mt9304

mt9304/routes.rb Secret

Created September 26, 2018 21:49
Embed
What would you like to do?
Adding api
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