Skip to content

Instantly share code, notes, and snippets.

@GiancarlosIO
Last active June 15, 2017 23:47
Show Gist options
  • Save GiancarlosIO/b1fa1b0bee89990a9e6d0311c1dc9a46 to your computer and use it in GitHub Desktop.
Save GiancarlosIO/b1fa1b0bee89990a9e6d0311c1dc9a46 to your computer and use it in GitHub Desktop.
# my_api/app/controller/api/v1/users_controller.rb
class Api::V1::UsersController < ApplicationController
def index
@users = User.all
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment