web/views/basecontrollers.py
branchstable
changeset 9700 da7d341cca76
parent 9229 739ae5366bed
child 10222 75d6096216d7
child 10406 9c7461bf99a7
--- a/web/views/basecontrollers.py	Tue Apr 01 13:57:25 2014 +0200
+++ b/web/views/basecontrollers.py	Mon Apr 14 11:54:33 2014 +0200
@@ -92,7 +92,7 @@
     def publish(self, rset=None):
         """log in the instance"""
         path = self._cw.form.get('postlogin_path', '')
-        # redirect expect an url, not a path. Also path may contains a query
+        # redirect expect a URL, not a path. Also path may contains a query
         # string, hence should not be given to _cw.build_url()
         raise Redirect(self._cw.base_url() + path)
 
@@ -110,7 +110,7 @@
         #   anonymous connection is allowed and the page will be displayed or
         #   we'll be redirected to the login form
         msg = self._cw._('you have been logged out')
-        # force base_url so on dual http/https configuration, we generate an url
+        # force base_url so on dual http/https configuration, we generate a URL
         # on the http version of the site
         return self._cw.build_url('view', vid='loggedout',
                                   base_url=self._cw.vreg.config['base-url'])