<!DOCTYPE html>
<html>
<head>
  <title>TheWall</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>

<% if current_user %>
  <div>
    You are signed in as <%= link_to current_user.github_username, {:action => :profile} %>
    <hr>
  </div>

  <div>
    <%= link_to 'Create a new project', {:action => :new} %>
  </div>
<% else %>
  <% if Rails.env.production? %>
    <%= link_to "Sign in with Github", user_omniauth_authorize_path(:github) %>
  <% else %>
    <%= link_to "Sign in (dev)", dev_sign_in_path, :method => :post %>
  <% end %>
<% end %>

<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>

<%= yield %>

</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title>TheWall</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>

<% if current_user %>
  <div>
    You are signed in as <%= link_to current_user.github_username, {:action => :profile} %> | <%= link_to 'Home', {:action => :index} %>
    <hr>
  </div>

  <div>
    <%= link_to 'Create a new project', {:action => :new} %>
  </div>
<% else %>
  <% if Rails.env.production? %>
    <%= link_to "Sign in with Github", user_omniauth_authorize_path(:github) %>
  <% else %>
    <%= link_to "Sign in (dev)", dev_sign_in_path, :method => :post %>
  <% end %>
<% end %>

<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>

<%= yield %>

</body>
</html>

Add ability to go back 'home' from anywhere on the site
Add ability to go back 'home' from anywhere on the site
