Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit 6f2e777

Browse files
committed
Fixup usage documentation
1 parent d2e9888 commit 6f2e777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To display two different templates based on the experiment variant:
2828

2929
```python
3030
def get_template_names(self):
31-
variant = request.google_optimize.get("redesign", None)
31+
variant = self.request.google_optimize.get("redesign", None)
3232
if variant == "new":
3333
return ["jobs/xyz_new.html"]
3434
return ["jobs/xyz_old.html"]

0 commit comments

Comments
 (0)