Module: Trestle::Auth::TitleHelper
- Defined in:
- app/helpers/trestle/auth/title_helper.rb
Instance Method Summary collapse
Instance Method Details
#trestle_auth_title ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'app/helpers/trestle/auth/title_helper.rb', line 4 def trestle_auth_title if Trestle.config.auth.logo image_tag(Trestle.config.auth.logo) elsif Trestle.config.site_logo image_tag(Trestle.config.site_logo) elsif Trestle.config.site_logo_small safe_join([ image_tag(Trestle.config.site_logo_small, alt: "", class: ""), content_tag(:span, Trestle.config.site_title) ], "\n") else Trestle.config.site_title end end |