Skip to content

Instantly share code, notes, and snippets.

@coreyjs
Created October 4, 2018 17:06
Show Gist options
  • Select an option

  • Save coreyjs/23605db0bf0cde2043ed0ecb7e097bf1 to your computer and use it in GitHub Desktop.

Select an option

Save coreyjs/23605db0bf0cde2043ed0ecb7e097bf1 to your computer and use it in GitHub Desktop.
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'application#index', format: 'json'
namespace :v1 do
resource :apps
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment