Module: Tramway::ApplicationHelper

Includes:
Decorators::ClassHelper, Helpers::ComponentHelper
Defined in:
app/helpers/tramway/application_helper.rb

Overview

Main helper module for Tramway entities pages

Instance Method Summary collapse

Methods included from Helpers::ComponentHelper

#component

Methods included from Decorators::ClassHelper

decorator_class, decorator_class_name, raise_error_if_object_empty

Instance Method Details

#page_titleObject



12
13
14
# File 'app/helpers/tramway/application_helper.rb', line 12

def page_title
  @model_class.model_name.human.pluralize # rubocop:disable Rails/HelperInstanceVariable
end