summaryrefslogtreecommitdiff
path: root/web/taginfo.rb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-15 22:33:53 +0100
committerJochen Topf <jochen@topf.org>2013-01-15 22:33:53 +0100
commitf10f0d7e7e36ed7d621a45dfc1d24119e42fd4b9 (patch)
treef144f138711e79a9c87ef3d8220522d6e4d55977 /web/taginfo.rb
parente84891fb573895d555c90e25f7c377a87b54de27 (diff)
downloadtaginfo-f10f0d7e7e36ed7d621a45dfc1d24119e42fd4b9.tar
taginfo-f10f0d7e7e36ed7d621a45dfc1d24119e42fd4b9.tar.gz
Add 404 page
Diffstat (limited to 'web/taginfo.rb')
-rwxr-xr-xweb/taginfo.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/taginfo.rb b/web/taginfo.rb
index 54c4144..812eb2d 100755
--- a/web/taginfo.rb
+++ b/web/taginfo.rb
@@ -175,6 +175,12 @@ class Taginfo < Sinatra::Base
#--------------------------------------------------------------------------
+ not_found do
+ erb :not_found
+ end
+
+ #--------------------------------------------------------------------------
+
# old deprecated API (version 2 and 3)
load 'lib/api/db.rb'
load 'lib/api/josm.rb'