Skip to content

Instantly share code, notes, and snippets.

@alexfedoseev alexfedoseev/routes.rb Secret
Last active Aug 29, 2015

Embed
What would you like to do?
Rails API routing: iteration 1
# config/routes.rb
Rails.application.routes.draw do
namespace :api do
scope module: :v1 do
resources :comments
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.