Google Analytic code
# File app/helpers/application_helper.rb, line 4 def analytics_codes code = Configurations::GoogleAnalytic.code unless code.blank? code.html_safe end end
Show profile question wizard
# File app/helpers/application_helper.rb, line 12 def show_profile_question_wizard? next_profile_question != 'complete' && (params[:controller] != 'users' and params[:action] != 'index') end