lib/interage/application_helper.rb in interage-helper-0.1.3 vs lib/interage/application_helper.rb in interage-helper-0.1.4

- old
+ new

@@ -3,13 +3,14 @@ module Interage module ApplicationHelper include ::Interage::ApplicationIconHelper include ::Interage::BootstrapHelper include ::Interage::CEPHelper + include ::Interage::CNPJHelper include ::Interage::CocoonHelper include ::Interage::ControllerActiveHelper - include ::Interage::CPFCNPJHelper + include ::Interage::CPFHelper include ::Interage::DateTimeHelper include ::Interage::FaviconHelper include ::Interage::FlashMessageHelper include ::Interage::FontAwesomeHelper include ::Interage::GravatarHelper @@ -25,10 +26,10 @@ def format_seconds(seconds) t('time.seconds.short', count: seconds) end def app_page_title(area = '') - "#{env_name_upcase}#{page_title}#{area}#{app_name}" + strip_tags "#{env_name_upcase}#{page_title}#{area}#{app_name}" end def admin_page_title app_page_title(ENV['PREFIX_ADMIN_PAGE_TITLE']) end