Sha256: b967f296d86bb270930146815e9337edd6169bd45cf5c377fd549a1cc3e541e0
Contents?: true
Size: 929 Bytes
Versions: 17
Compression:
Stored size: 929 Bytes
Contents
class DirectoryController < ApplicationController # Stub method. Override this in your application if you want directory lookups def user #render :json => User.directory_attributes(params[:uid]) render :json => "" end # Stub method. Override this in your application if you want directory lookups def user_attribute # if params[:attribute] == "groups" # res = User.groups(params[:uid]) # else # res = User.directory_attributes(params[:uid], params[:attribute]) # end # render :json => res render :json => "" end # Stub method. Override this in your application if you want directory lookups def user_groups # render :json => User.groups(params[:uid]) render :json => [] end # Stub method. Override this in your application if you want directory lookups def group #render :json => Group.exists?(params[:cn]) render :json => false end end
Version data entries
17 entries across 17 versions & 1 rubygems