Files
danbooru/app/views/static/access_denied.html.erb
evazion 6a984de3d5 views: refactor page titles.
Refactor `page_title` helper to automatically include site name.
2020-01-25 01:52:18 -06:00

15 lines
337 B
Plaintext

<% page_title "Access Denied" %>
<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" %>