]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/no_such_user.rhtml
Report a friendly error for attempts to reference a user that does
[rails.git] / app / views / diary_entry / no_such_user.rhtml
diff --git a/app/views/diary_entry/no_such_user.rhtml b/app/views/diary_entry/no_such_user.rhtml
new file mode 100644 (file)
index 0000000..7820b48
--- /dev/null
@@ -0,0 +1,2 @@
+<h2><%= h(@not_found_user) %></h2>
+<p>Sorry, there is no user with the name <%= @not_found_user -%>. Please check your spelling, or maybe the link you clicked is wrong.</p>