forked from External/greenlight
handle errors and fix join form
This commit is contained in:
7
app/views/errors/internal_error.html.erb
Normal file
7
app/views/errors/internal_error.html.erb
Normal file
@ -0,0 +1,7 @@
|
||||
<div class="text-center center-page">
|
||||
<h1 class="display-2 font-weight-400">Oh no!</h1>
|
||||
<h3>Looks like something went wrong on our end.</h3>
|
||||
<%= link_to root_url do %>
|
||||
<h4>Return to home page.</h4>
|
||||
<% end %>
|
||||
</div>
|
8
app/views/errors/not_found.html.erb
Normal file
8
app/views/errors/not_found.html.erb
Normal file
@ -0,0 +1,8 @@
|
||||
<div class="text-center center-page">
|
||||
<h1 class="display-2 font-weight-400">Whoops!</h1>
|
||||
<h2>Looks like we can't find that resource.</h2>
|
||||
<h3>Is it possible its been removed?</h3>
|
||||
<%= link_to root_url do %>
|
||||
<h4>Return to home page.</h4>
|
||||
<% end %>
|
||||
</div>
|
7
app/views/errors/unprocessable.html.erb
Normal file
7
app/views/errors/unprocessable.html.erb
Normal file
@ -0,0 +1,7 @@
|
||||
<div class="text-center center-page">
|
||||
<h1 class="display-2 font-weight-400">Oops!</h1>
|
||||
<h3>Request is unprocessable.</h3>
|
||||
<%= link_to root_url do %>
|
||||
<h4>Return to home page.</h4>
|
||||
<% end %>
|
||||
</div>
|
Reference in New Issue
Block a user