ref: master
app/views/shared/access_denied.html.erb
<%= @title || _('Access denied') %>
<% unless @message.nil? %><%= @message %>
<% else %><%= _('You are not allowed to view this page.') %>
<%= _("If you are supposed to have access to this area, you'll probably want to talk to the people responsible and ask them to give you access.") %>
<% end %> <%= button_bar do %> <%= button :back, _('Go back'), :back %> <%= button :home, _('Go to the home page'), '/' %> <% end %>