Sha256: e47f97a77e59d70ae210670f0ace2793ce5ca0ec501382039182e0ea49132119

Contents?: true

Size: 451 Bytes

Versions: 10

Compression:

Stored size: 451 Bytes

Contents

<li class="thredded--user-navigation--standalone--session thredded--user-navigation--item">
  <% resource_name = Thredded.user_class_name.underscore %>
  <% if thredded_signed_in? %>
    <%= link_to main_app.send(:"destroy_#{resource_name}_session_path"), method: :delete do %>
      Sign Out
    <% end %>
  <% else %>
    <%= link_to main_app.send(:"new_#{resource_name}_session_path") do %>
      Sign In / Register
    <% end %>
  <% end %>
</li>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
thredded-0.13.4 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.13.3 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.13.2 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.13.1 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.13.0 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.12.4 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.12.3 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.12.2 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.12.1 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.12.0 app/views/thredded/shared/nav/_standalone.html.erb