header
  - if flash.present?
    .flash
      - flash.each do |key, message|
        div class= "flash-messages #{key}"
          p= message

  = link_to "Challenge App", root_path
  '  |
  = link_to "Leaderboard", leaderboard_path
  '  |
  - if user_signed_in?
    ' Welcome,
    = current_user.user_name
    '  |
    = link_to "Edit profile", edit_user_registration_path
    '  |
    = link_to "Sign out", destroy_user_session_path, method: :delete
  - else
    = link_to "Sign in", new_user_session_path
    '  |
    = link_to "Sign up", new_user_registration_path


header
  - if flash.present?
    .flash
      - flash.each do |key, message|
        div class= "flash-messages #{key}"
          p= message

  = link_to "Challenge App", root_path
  '  |
  = link_to "Leaderboard", leaderboard_path
  '  |
  - if user_signed_in?
    ' Welcome,
    = current_user.user_name
    '  |
    = link_to "Edit profile", edit_user_registration_path
    '  |
    = link_to "Sign out", destroy_user_session_path, method: :delete
  - else
    = link_to "Sign in", new_user_session_path
    '  |
    = link_to "Sign in with Github", user_omniauth_authorize_path(:github)
    '  |
    = link_to "Sign up", new_user_registration_path


Add Sign in with Github to header
Add Sign in with Github to header

Klepsz/challenge_app,Klepsz/challenge_app