Tidy up error handling in the message controller, and make it redirect to

the login page if you are logged in as the wrong user. Closes #1569.
This commit is contained in:
Tom Hughes 2010-02-28 15:13:06 +00:00
parent 938cbcd862
commit b90567e197
3 changed files with 43 additions and 21 deletions

View file

@ -0,0 +1,2 @@
<h1><%= t'message.no_such_message.heading' %></h1>
<p><%= t'message.no_such_message.body' %></p>