support-foo/web

View on GitHub
app/controllers/current_users_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CurrentUsersController < ApplicationController
  before_action :authenticate_user!,
    only: [:show]

  respond_to :json

  def show
    respond_with current_user
  end
end