Method: Olivander::ApplicationHelper#sidebar_context_name

Defined in:
app/helpers/olivander/application_helper.rb


154
155
156
157
158
# File 'app/helpers/olivander/application_helper.rb', line 154

def sidebar_context_name
  [Olivander::CurrentContext.application_context.name, sidebar_context_suffix&.upcase].reject do |x|
    x.blank? or x == 'PRODUCTION'
  end.join(' ')
end