Sha256: 52b6a0a395e4c75073d0452058b3aa11864846eeda10e3b901e7a3a14111f8eb
Contents?: true
Size: 546 Bytes
Versions: 7
Compression:
Stored size: 546 Bytes
Contents
<p> This view gets displayed when the user tries to access something forbidden. </p> <% if current_user %> <p> You should inform the user that they are logged in as <%= current_user.exuid %> and suggest them to <%= link_to 'Log out', session_path, method: :delete %> and log in as a different user. </p> <% else %> <p> The user will only see this if JavaScript is disabled. Ask them to <%= link_to 'Log in', new_session_path %>. </p> <script type="text/javascript"> window.location = "<%= new_session_path %>"; </script> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems