Sha256: b7c50c4b3771b8de64d325fd5a979c400918f75407f307238858bb2bd410b123

Contents?: true

Size: 378 Bytes

Versions: 15

Compression:

Stored size: 378 Bytes

Contents

<nav>
    <ul>
        <li><%= link_to 'Home', root_path %></li>
        <% if user_signed_in? %>
          <li><%= button_to "Log out", destroy_user_session_path, method: :delete %></li>
        <% else %>
          <li><%= link_to "Login", new_user_session_path %></li>
          <li><%= link_to "Sign Up", new_user_registration_path %></li>
        <% end%>
    </ul>
</nav>

Version data entries

15 entries across 8 versions & 1 rubygems

Version Path
rails_app-0.9.0 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb
rails_app-0.9.0 lib/rails_app/template/app_postcss/views/shared/_navbar.html.erb
rails_app-0.8.1 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb
rails_app-0.8.1 lib/rails_app/template/app_postcss/views/shared/_navbar.html.erb
rails_app-0.8.0 lib/rails_app/template/app_postcss/views/shared/_navbar.html.erb
rails_app-0.8.0 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb
rails_app-0.7.0 lib/rails_app/template/app_postcss/views/shared/_navbar.html.erb
rails_app-0.7.0 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb
rails_app-0.6.0 lib/rails_app/template/app_postcss/views/shared/_navbar.html.erb
rails_app-0.6.0 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb
rails_app-0.5.0 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb
rails_app-0.5.0 lib/rails_app/template/app_postcss/views/shared/_navbar.html.erb
rails_app-0.4.0 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb
rails_app-0.4.0 lib/rails_app/template/app_postcss/views/shared/_navbar.html.erb
rails_app-0.3.0 lib/rails_app/template/app_sass/views/shared/_navbar.html.erb