mirror of
https://github.com/scratchfoundation/gargoyle.git
synced 2025-06-14 19:40:20 -04:00
Fix missing single-quote
This commit is contained in:
parent
69568050bd
commit
285d0e3f91
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ In the case of the switch being inactive and you are using the decorator, a 404
|
|||
the user to an absolute URL (relative to domain), or a named URL pattern::
|
||||
|
||||
# if redirect_to starts with a /, we assume it's a url path
|
||||
@switch_is_active('my switch name', redirect_to='/my/url/path)
|
||||
@switch_is_active('my switch name', redirect_to='/my/url/path')
|
||||
|
||||
# alternatively use the url mapper
|
||||
@switch_is_active('my switch name', redirect_to='access_denied')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue