<!DOCTYPE html>
<html>
<head>
  <title>WriteNow</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 %>

</body>
</html>

<!DOCTYPE html>
<html>

<head>
  <title>WriteNow</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>

<body>
  <%= render partial: 'shared/global_nav' %>
  <%= yield %>
</body>

</html>
Add partial render to main layout - partial renders global nav.
Add partial render to main layout - partial renders global nav.
