Sha256: 6003e31f6302a8e7e240aae85ead39069b354ca2afabfc0c51e7faccc976f3aa
Contents?: true
Size: 551 Bytes
Versions: 32
Compression:
Stored size: 551 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
32 entries across 23 versions & 1 rubygems