Sha256: eecf66420df8b108280c39d3f29a77d8c63b5fafd21f6d02a33a2575f3aeefc4

Contents?: true

Size: 272 Bytes

Versions: 11

Compression:

Stored size: 272 Bytes

Contents

module Cms
  class UserController < Cms::ApplicationController
    # Return information about the current user as json. Can be used by cached html pages do create interactive elements.
    def show
      render json: Cms::UserPresenter.new(current_user)
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/controllers/cms/user_controller.rb
browsercms-artirix-4.0.3.3 app/controllers/cms/user_controller.rb
browsercms-artirix-4.0.3.2 app/controllers/cms/user_controller.rb
browsercms-artirix-4.0.3.1 app/controllers/cms/user_controller.rb
browsercms-artirix-4.0.3 app/controllers/cms/user_controller.rb
browsercms-artirix-4.0.2 app/controllers/cms/user_controller.rb
browsercms-artirix-4.0.1.1 app/controllers/cms/user_controller.rb
browsercms-artirix-4.0.0.rc1.art4 app/controllers/cms/user_controller.rb
browsercms-4.0.0.rc1 app/controllers/cms/user_controller.rb
browsercms-4.0.0.beta app/controllers/cms/user_controller.rb
browsercms-4.0.0.alpha app/controllers/cms/user_controller.rb