]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/no_such_entry.rhtml
Covering the case of an entry not being found. More diary entry tests.
[rails.git] / app / views / diary_entry / no_such_entry.rhtml
diff --git a/app/views/diary_entry/no_such_entry.rhtml b/app/views/diary_entry/no_such_entry.rhtml
new file mode 100644 (file)
index 0000000..1ebcf26
--- /dev/null
@@ -0,0 +1,2 @@
+<h2>No entry with the id: <%= h(params[:id]) %></h2>
+<p>Sorry, there is no diary entry or comment with the id <%=h params[:id] -%>, or no id was given. Please check your spelling, or maybe the link you clicked is wrong.</p>