summaryrefslogtreecommitdiffstats
path: root/app/views/common
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-02 08:47:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-02 08:47:07 +0000
commite3becc7c3c53aff0566cd862c13b0bd032da1169 (patch)
tree51158f62af5ca62a00308a84ce2eae986ccade22 /app/views/common
parente7caec6e7d1ac9c67878562f53c4ad2ba1e82217 (diff)
downloadredmine-e3becc7c3c53aff0566cd862c13b0bd032da1169.tar.gz
redmine-e3becc7c3c53aff0566cd862c13b0bd032da1169.zip
ActiveRecord::RecordNotFound exceptions handled more gracefully
git-svn-id: http://redmine.rubyforge.org/svn/trunk@133 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/404.rhtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/common/404.rhtml b/app/views/common/404.rhtml
new file mode 100644
index 000000000..a81eeba02
--- /dev/null
+++ b/app/views/common/404.rhtml
@@ -0,0 +1,4 @@
+<h2>404</h2>
+
+<p><%= l(:notice_file_not_found) %></p>
+<p><a href="javascript:history.back()">Back</a></p>