Sha256: be34eaa2439eb86e4f990aa669d795c0491f24f0586ea315ac08421e74bdf116

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Dummy</title>
  <%= csrf_meta_tags %>
</head>
<body>
<% if session[:ls_auth_user] %>
You are logged in as <%= session[:ls_auth_user] %>. <%= link_to "Log out", ls_omniauth.sign_out_path %>
<br />The full session hash is this: <%= session.inspect %>
<% else %>
You are not logged in. <%= link_to "Log in", ls_omniauth.sign_in_path %>
<% end %>

<ul>
  <li><%= link_to "Public page", public_page_path %></li>
  <li><%= link_to "Private page", private_page_path %></li>
</ul>
<%= yield %>

</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ls-omniauth-3.0.3 spec/dummy/app/views/layouts/application.html.erb