Sha256: 22b61191a065270c99ea7f62a8216130027cecdef3799dae8a38f882b74b359f

Contents?: true

Size: 801 Bytes

Versions: 10

Compression:

Stored size: 801 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>

<% if flash[:notice] %>
  <%= flash[:notice] %>
<% end %>
<% if flash[:alert] %>
  <%= flash[:alert] %>
<% end %>
<%= link_to "Secret page(URL helper on application)", secret_page_path %>
<% if signed_in?(as: :user) %>
  <%= link_to t('nav.nyauth.sessions.destroy'), session_path_for(:user), class: 'pure-menu-link', method: :delete %>
<% end %>
<% if signed_in?(as: :admin) %>
  <%= link_to t('nav.nyauth.sessions.destroy'), session_path_for(:admin), class: 'pure-menu-link', method: :delete %>
<% end %>

<%= yield %>
</body>
</html>

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
nyauth-0.7.2 spec/dummy/app/views/layouts/nyauth/base.html.erb
nyauth-0.7.2 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.7.1 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.7.1 spec/dummy/app/views/layouts/nyauth/base.html.erb
nyauth-0.7.0 spec/dummy/app/views/layouts/nyauth/base.html.erb
nyauth-0.7.0 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.6.2 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.6.1 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.6.0 spec/dummy/app/views/layouts/application.html.erb
nyauth-0.5.0 spec/dummy/app/views/layouts/application.html.erb