app/controllers/bhf/application_controller.rb in bhf-0.6.21 vs app/controllers/bhf/application_controller.rb in bhf-0.6.22

- old
+ new

@@ -69,11 +69,11 @@ end end def set_title - @title = Bhf::Engine.config.page_title || - (Rails.application.class.to_s.split('::').first+' – Admin').html_safe + @app_title = Rails.application.class.to_s.split('::').first + @title = Bhf::Engine.config.page_title || ("#{@app_title} – Admin").html_safe end def set_message(type, model = nil) key = model && ActiveModel::Naming.singular(model)