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