Files
danbooru/app/views/static/access_denied.html.erb
evazion 48e0569832 login: add /login & /logout routes, rename 'sign in' to 'login'.
* Replace /session/new with /login and /session/sign_out with /logout.
* Rename 'sign in' to 'login'.

This changes are to make urls cleaner and terminology more consistent.
2019-12-14 15:27:13 -06:00

17 lines
398 B
Plaintext

<h1>Access Denied</h1>
<p>
You do not have permission to visit this page.
<% if CurrentUser.is_anonymous? %>
Try <%= link_to "logging in", login_path(url: request.fullpath) %> or
<%= link_to "signing up", new_user_path %>.
<% end %>
</p>
<%= link_to "Go back", :back, :rel => "prev" %>
<% content_for(:page_title) do %>
Access Denied - <%= Danbooru.config.app_name %>
<% end %>