Module: ThinkFeelDoEngine::BrandHelper

Defined in:
app/helpers/think_feel_do_engine/brand_helper.rb

Overview

Brand logo navigation helper methods

Instance Method Summary collapse

Instance Method Details

#brand_locationObject

Uses the authorization state and contextual path to determine the page branding link url.



7
8
9
10
11
12
13
14
15
16
# File 'app/helpers/think_feel_do_engine/brand_helper.rb', line 7

def brand_location
  if authorized_user_with_dashboard? ||
     no_authorization_and_user_password_update_page?
    think_feel_do_dashboard.root_path
  elsif 
    "#"
  else
    main_app.root_url
  end
end