<%= csrf_meta_tags %> <% if session[:ls_auth_user] %> You are logged in as <%= session[:ls_auth_user] %>. <%= link_to "Log out", ls_omniauth.sign_out_path %>
The full session hash is this: <%= session.inspect %> <% else %> You are not logged in. <%= link_to "Log in", ls_omniauth.sign_in_path %> <% end %> <%= yield %>