Sha256: e5c1f544ee12914348a0cec0c26a0830e5e112ec21359eef17b715a00aa28d40
Contents?: true
Size: 251 Bytes
Versions: 36
Compression:
Stored size: 251 Bytes
Contents
class DemoUserController < ApplicationController before_action :authenticate_user! def members_only render json: { data: { message: "Welcome #{current_user.name}", user: current_user } }, status: 200 end end
Version data entries
36 entries across 36 versions & 2 rubygems