Fixed compilation of samples
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user