Sha256: edf8723b1007a2e69287d65c74946717ccbc9a793b738f7bf20cbb95a7621640
Contents?: true
Size: 487 Bytes
Versions: 1
Compression:
Stored size: 487 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thredded-1.0.0 | app/views/thredded/shared/nav/_standalone.html.erb |