Class: HhPackage::PackageMenu

Inherits:
ApplicationRecord show all
Includes:
IdentityCache
Defined in:
app/models/hh_package/package_menu.rb

Overview

typed: ignore frozen_string_literal: true

Instance Method Summary collapse

Methods inherited from ApplicationRecord

sync_carrierwave_url

Instance Method Details

#image_menu_urlObject



47
48
49
50
51
52
53
# File 'app/models/hh_package/package_menu.rb', line 47

def image_menu_url
  if image.present?
    image.url
  else
    AdminSetting.default_hh_menu_image
  end
end