<!DOCTYPE html>
<html>
  <head>
    <title>ResourceRepositoryApp</title>
    <%= csrf_meta_tags %>
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/journal/bootstrap.min.css" rel="stylesheet" integrity="sha384-1L94saFXWAvEw88RkpRz8r28eQMvt7kG9ux3DdCqya/P3CfLNtgqzMnyaUa49Pl2" crossorigin="anonymous">
    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= stylesheet_link_tag    'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  </head>

  <body>
    <nav>
      <h1>
        DBC Resource Repository
      </h1>
      <% if current_user %>
        (<%= current_user.email %> - <%= current_user.role %>) <%= link_to "logout", logout_path %> <br>
        <%= link_to "Create new resource", new_resource_path %>
      <% end %>
    </nav>
    <%= yield %>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <title>ResourceRepositoryApp</title>
    <%= csrf_meta_tags %>
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/journal/bootstrap.min.css" rel="stylesheet" integrity="sha384-1L94saFXWAvEw88RkpRz8r28eQMvt7kG9ux3DdCqya/P3CfLNtgqzMnyaUa49Pl2" crossorigin="anonymous">
    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= stylesheet_link_tag    'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  </head>

  <body>
    <nav>
      <h1>
        <%= link_to "DBC Resource Repository", resources_path %>
      </h1>
      <br>
      <br>
      <% if current_user %>
        (<%= current_user.email %> - <%= current_user.role %>) <%= link_to "logout", logout_path %> <br>
        <%= link_to "Create new resource", new_resource_path %>
      <% end %>
    </nav>
    <%= yield %>
  </body>
</html>

Add home button link in layout page
Add home button link in layout page
