Sha256: d2f20bc0652dfc612ae1b989acf924e8b56f5feec9ab62cd23b30e617a1a861f

Contents?: true

Size: 459 Bytes

Versions: 18

Compression:

Stored size: 459 Bytes

Contents

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
thredded-0.10.0 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.9.4 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.9.3 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.9.2 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.9.1 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.8.4 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.8.2 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.7.0 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.6.3 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.6.2 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.6.1 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.6.0 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.5.1 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.5.0 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.4.0 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.3.2 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.3.1 app/views/thredded/shared/nav/_standalone.html.erb
thredded-0.3.0 app/views/thredded/shared/nav/_standalone.html.erb