Sha256: 95fe5ed079256f2d28e0338f4eee6ae3213a8e6c0f7f41f6423656625050d0eb

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

module Scrivito
  class UsersController < WebserviceController
    def mget
      @users = Scrivito::User.mget(*params[:ids])
      render :users
    end

    def suggest
      @users =  scrivito_user.suggest_users(params[:input]).first(20)
      render :users
    end

    def publish_ability
      @publish_ability = Scrivito::PublishAbility.new(scrivito_user, params[:obj_id])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scrivito_sdk-1.6.0.rc1 app/controllers/scrivito/users_controller.rb