Module: Titleist::Helper
- Extended by:
- T::Sig
- Defined in:
- lib/titleist/helper.rb
Overview
Helper methods in ActionView for rendering the title.
Instance Method Summary collapse
-
#title_tag ⇒ String
Render the full title as a ‘<title>` tag.
Instance Method Details
#title_tag ⇒ String
Render the full title as a ‘<title>` tag.
11 12 13 |
# File 'lib/titleist/helper.rb', line 11 def title_tag content_tag :title, title_text.to_s end |