Sha256: 7543cb9403063a3441696a7ac92c9d3d1acb9e7a946d82caa1eccf0b454113c3
Contents?: true
Size: 501 Bytes
Versions: 2
Compression:
Stored size: 501 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 %> <%= t('thredded.nav.sign_out') %> <% end %> <% else %> <%= link_to main_app.send(:"new_#{resource_name}_session_path") do %> <%= t('thredded.nav.sign_in') %> <% end %> <% end %> </li>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thredded-1.1.0 | app/views/thredded/shared/nav/_standalone.html.erb |
thredded-1.0.1 | app/views/thredded/shared/nav/_standalone.html.erb |