1
0
Fork 0
dokkan-data-rails/app/views/layouts/application.html.erb

21 lines
395 B
Text
Raw Normal View History

2015-09-29 19:02:43 -04:00
<!DOCTYPE html>
<html>
<head>
<title>DbzdokkanRails</title>
2015-09-29 21:21:05 -04:00
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
2015-09-29 19:02:43 -04:00
<%= csrf_meta_tags %>
</head>
<body>
2015-09-29 21:21:05 -04:00
<% if logged_in? %>
<p><%= link_to 'Logout', logout_path, method: :delete %></p>
<% else %>
<p><a href="/auth/reddit">Login</a></p>
<% end %>
2015-09-29 19:02:43 -04:00
<%= yield %>
</body>
</html>