Fixed compilation of samples

This commit is contained in:
Jocelyn Fiat
2012-04-12 12:51:52 +02:00
parent 1403cc5c09
commit e6a727ee42
2 changed files with 1 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ feature -- Execution
s.append_string (" format=" + l_format + "%N") s.append_string (" format=" + l_format + "%N")
end end
if attached ctx.string_parameter ("op") as l_op then if attached ctx.string_item ("op") as l_op then
s.append_string (" op=" + l_op) s.append_string (" op=" + l_op)
if l_op.same_string ("crash") then if l_op.same_string ("crash") then
(create {DEVELOPER_EXCEPTION}).raise (create {DEVELOPER_EXCEPTION}).raise

View File

@@ -50,7 +50,6 @@ feature {NONE} -- Handlers
create gh.make (4) create gh.make (4)
router.map ("/test", gh) router.map ("/test", gh)
gh.map_default (h)
-- gh.map ("/test", h) -- gh.map ("/test", h)
gh.map ("/test/{op}", h) gh.map ("/test/{op}", h)
gh.map ("/test.{format}", h) gh.map ("/test.{format}", h)