Sha256: 75cdd4e15f516e995bcc7b26e7e1378874660182780fae56d19c67f435f0a479
Contents?: true
Size: 552 Bytes
Versions: 8
Compression:
Stored size: 552 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 => :destroy %> 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
8 entries across 7 versions & 1 rubygems