Method: Olivander::ApplicationHelper#sidebar_context_name
- Defined in:
- app/helpers/olivander/application_helper.rb
#sidebar_context_name ⇒ Object
154 155 156 157 158 |
# File 'app/helpers/olivander/application_helper.rb', line 154 def [Olivander::CurrentContext.application_context.name, &.upcase].reject do |x| x.blank? or x == 'PRODUCTION' end.join(' ') end |