Sha256: 1dac2ad71d811908965492efa0feb73fa41905b895504790cf7d8ddd7baafcc3
Contents?: true
Size: 264 Bytes
Versions: 39
Compression:
Stored size: 264 Bytes
Contents
# Secured ping Controller class SecuredPingController < ApplicationController before_action :authenticate_user def ping render json: { message: "All good. You only get this message if you're authenticated.", user: current_user } end end
Version data entries
39 entries across 39 versions & 1 rubygems