web/views/ajaxcontroller.py
changeset 8496 e4d71fc0b701
parent 8437 c9ab72f0645d
child 8535 268b6349baf3
--- a/web/views/ajaxcontroller.py	Tue Jul 24 15:06:55 2012 +0200
+++ b/web/views/ajaxcontroller.py	Tue Jul 24 17:51:00 2012 +0200
@@ -28,7 +28,7 @@
 functions that can be called from the javascript world.
 
 To register a new remote function, either decorate your function
-with the :ref:`cubicweb.web.views.ajaxcontroller.ajaxfunc` decorator:
+with the :func:`~cubicweb.web.views.ajaxcontroller.ajaxfunc` decorator:
 
 .. sourcecode:: python
 
@@ -39,7 +39,7 @@
     def list_users(self):
         return [u for (u,) in self._cw.execute('Any L WHERE U login L')]
 
-or inherit from :class:`cubicwbe.web.views.ajaxcontroller.AjaxFunction` and
+or inherit from :class:`~cubicweb.web.views.ajaxcontroller.AjaxFunction` and
 implement the ``__call__`` method:
 
 .. sourcecode:: python