Sha256: 15d48a20eff09019f2113dddb4d541ad83b786e08f1fbcb21860303e5d09f8c0
Contents?: true
Size: 283 Bytes
Versions: 5
Compression:
Stored size: 283 Bytes
Contents
module Workarea module Storefront class ReviewViewModel < ApplicationViewModel def requires_public_info? anonymous? || user.public_info.blank? end def user return if anonymous? @user ||= User.find(user_id) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems