Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
This commit is contained in:
parent
95c3d640a4
commit
77851bac7b
6 changed files with 73 additions and 4 deletions
3
app/views/user_blocks/not_found.html.erb
Normal file
3
app/views/user_blocks/not_found.html.erb
Normal file
|
@ -0,0 +1,3 @@
|
|||
<p><%= t'user_block.not_found.sorry', :id => params[:id] %></p>
|
||||
|
||||
<%= link_to t('user_block.not_found.back'), user_blocks_path %>
|
Loading…
Add table
Add a link
Reference in a new issue