app/helpers/trestle/auth/title_helper.rb in trestle-auth-0.2.5 vs app/helpers/trestle/auth/title_helper.rb in trestle-auth-0.3.0

- old
+ new

@@ -1,9 +1,11 @@ module Trestle module Auth module TitleHelper def trestle_auth_title - if Trestle.config.site_logo + 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)