[REM] old Hello controller
bzr revid: xmo@openerp.com-20110321081419-e2mv119gfm5kbaem
This commit is contained in:
parent
99f29c8202
commit
e9854573d1
|
@ -48,21 +48,6 @@ class Xml2Json:
|
|||
# OpenERP Web base Controllers
|
||||
#----------------------------------------------------------
|
||||
|
||||
class Hello(openerpweb.Controller):
|
||||
_cp_path = "/base/hello"
|
||||
|
||||
def index(self):
|
||||
return "hello world"
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def ajax_hello_world(self, req):
|
||||
return {"welcome": "hello world"}
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def ajax_hello_error(self, req):
|
||||
raise Exception("You suck")
|
||||
|
||||
|
||||
class Session(openerpweb.Controller):
|
||||
_cp_path = "/base/session"
|
||||
|
||||
|
|
Loading…
Reference in New Issue