Sha256: 40874b1fb0c3e129879dbb66bc0d2c5069aaa0f1b82319c2b0b5dbda9b5a6f65
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 Bytes
Contents
require 'explicit_delegator' module WoopleTheme module Dashboard class AccountUserPresenter < ExplicitDelegator enforce_definitions :image, :name, :member_dashboard_path, :status_color, :status_description def image @delegate.image == '/assets/retina_thumb/missing.png' ? 'woople-theme/missing-profile.png' : @delegate.image end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
woople-theme-0.6.13 | app/presenters/woople_theme/dashboard/account_user_presenter.rb |
woople-theme-0.6.12 | app/presenters/woople_theme/dashboard/account_user_presenter.rb |