Module: ApplicationThemingHelper

Included in:
ApplicationHelper
Defined in:
app/helpers/application_theming_helper.rb

Instance Method Summary collapse

Instance Method Details

#application_resourcesObject


3
4
5
# File 'app/helpers/application_theming_helper.rb', line 3

def application_resources
  # Used to include external javascript/css files, Currently it's empty
end

#page_classObject


7
8
9
10
11
12
13
# File 'app/helpers/application_theming_helper.rb', line 7

def page_class
  return nil if content_for?(:page_class_specified)

  page_class = super
  content_for(:page_class_specified) { page_class }
  page_class
end