Skip to content

Commit 76317ca

Browse files
authored
Merge pull request revel#1091 from voyageth/patch-1
fix FilterController example
2 parents 8d01a05 + 310e62b commit 76317ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filterconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func newFilterConfigurator(controllerName, methodName string) FilterConfigurator
6262

6363
// FilterController returns a configurator for the filters applied to all
6464
// actions on the given controller instance. For example:
65-
// FilterAction(MyController{})
65+
// FilterController(MyController{})
6666
func FilterController(controllerInstance interface{}) FilterConfigurator {
6767
t := reflect.TypeOf(controllerInstance)
6868
for t.Kind() == reflect.Ptr {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy