Class: MuchRails::MuchRailsConfig::LayoutConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/much-rails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayoutConfig

Override as desired in an initializer, e.g.:

Example:

# in config/initializers/much_rails.rb
MuchRails.config.layout.full_page_title_segment_separator " / "
MuchRails.config.layout.full_page_title_application_separator " :: "


85
86
87
88
# File 'lib/much-rails.rb', line 85

def initialize
  @full_page_title_segment_separator = " - "
  @full_page_title_application_separator = " | "
end

Instance Attribute Details

#full_page_title_application_separatorObject

Returns the value of attribute full_page_title_application_separator.



77
78
79
# File 'lib/much-rails.rb', line 77

def full_page_title_application_separator
  @full_page_title_application_separator
end

#full_page_title_segment_separatorObject

Returns the value of attribute full_page_title_segment_separator.



76
77
78
# File 'lib/much-rails.rb', line 76

def full_page_title_segment_separator
  @full_page_title_segment_separator
end