Skip to content
Extraits de code Groupes Projets
users_controller.rb 169 octets
Newer Older
  • Learn to ignore specific revisions
  • class Api::V0::UsersController < Api::V0::BaseController
    
    theworldbright's avatar
    theworldbright a validé
      def show
    
        render json: user
      end
    
    private
      def user
        current_token.o_auth_application.user
    
    theworldbright's avatar
    theworldbright a validé
      end
    end