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