Sha256: 5505e6efd36695a876b4fd3b03240ebf7b1b76c4e6bb241c4ba6cae0ec70ce23
Contents?: true
Size: 553 Bytes
Versions: 18
Compression:
Stored size: 553 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.email %> 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
18 entries across 18 versions & 1 rubygems