Sha256: 224af734dff1c28889ff970f669492b8a559c3b1c76221110cd2cfc0e6ac48dd

Contents?: true

Size: 737 Bytes

Versions: 6

Compression:

Stored size: 737 Bytes

Contents

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

<%= yield %>
<% if flash[:notice] %>
  <%= flash[:notice] %>
<% end %>
<% if flash[:alert] %>
  <%= flash[:alert] %>
<% end %>
<%= link_to "URL helper on application", posts_path %>
<% if signed_in?(as: :user) %>
  <%= link_to 'Sign out', session_path_for(:user), class: 'pure-menu-link', method: :delete %>
<% end %>
<% if signed_in?(as: :admin) %>
  <%= link_to 'Sign out', session_path_for(:admin), class: 'pure-menu-link', method: :delete %>
<% end %>
</body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nyauth-0.4.0 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.3.0 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.2.8 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.2.7 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.2.6 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.2.5 spec/dummy/app/views/layouts/application.html.erb