Sha256: 3ef297f041e87144fc2695d1d14f4a94377079938238cada5caaca5a6efba87f

Contents?: true

Size: 462 Bytes

Versions: 31

Compression:

Stored size: 462 Bytes

Contents

<li class="thredded--user-navigation--standalone--session thredded--user-navigation--item">
  <% resource_name = Thredded.user_class_name.demodulize.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

31 entries across 31 versions & 2 rubygems

Version Path
thredded-0.16.16 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.15 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.14 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.13 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.12 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.11 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.10 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.9 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.8 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.7 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.6 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.5 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.4 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.3 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.1 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.16.0 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.15.5 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.15.4 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.15.3 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.15.2 app/views/thredded/shared/nav/_standalone.html.erb