<%= stylesheet_link_tag :all %> <%= javascript_include_tag :defaults %> <%= csrf_meta_tag %> <% if user_signed_in? %> <%= link_to 'new article', new_article_path %> | <%= link_to 'sign out', destroy_user_session_path %> <% else %> <%= link_to 'sign in', new_user_session_path %> | <%= link_to 'sign up', new_user_registration_path %> <% end %> | <%= link_to 'articles', articles_path %> <%= yield %>