Skip to content

Instantly share code, notes, and snippets.

@memaker
Last active November 11, 2016 22:31
Show Gist options
  • Save memaker/4e32706d3ee6ed6503243d4da5c1d5ed to your computer and use it in GitHub Desktop.
Save memaker/4e32706d3ee6ed6503243d4da5c1d5ed to your computer and use it in GitHub Desktop.
# app/controller/api/v1/user_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