<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %>
<% if @current_user %> Signed in as: <%= @current_user.name %> | <%= link_to 'Sign out', session_path, method: :delete %> <% else %> <%= link_to 'Sign in with GitHub', '/auth/github' %> <% end %>
<% flash.each do |name, msg| %> <%= content_tag :div, msg, class: "alert alert-info" %> <% end %> <%= yield %>