Sha256: bae0e35ef8935d067fef9117cc6366f3970d5391f9a3491c269cc8c73d46afe9
Contents?: true
Size: 185 Bytes
Versions: 16
Compression:
Stored size: 185 Bytes
Contents
class RolesController < ApplicationController respond_to :json def index respond_to do |format| format.json { render json: User.distinct.pluck(:role) } end end end
Version data entries
16 entries across 16 versions & 1 rubygems