Class: WoopleTheme::Dashboard::UserAndStatusPresenter

Inherits:
ExplicitDelegator show all
Defined in:
app/presenters/woople_theme/dashboard/user_and_status_presenter.rb

Instance Method Summary collapse

Methods inherited from ExplicitDelegator

enforce_definitions, #enforced_methods, #ensure_defined, #initialize

Constructor Details

This class inherits a constructor from ExplicitDelegator

Instance Method Details

#imageObject



6
7
8
# File 'app/presenters/woople_theme/dashboard/user_and_status_presenter.rb', line 6

def image
  @delegate.image == '/assets/retina_thumb/missing.png' ? 'woople-theme/missing-profile.png' : @delegate.image
end