You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: manual/i18n-messages.md
+1
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,7 @@ greeting.suffix=, welcome to Revel!
150
150
151
151
A goconfig file is separated into *sections*. The *default section* always exists and contains any messages that are not defined in a specific section. For example:
Copy file name to clipboardexpand all lines: manual/interceptors.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ which is useful for some common concerns such as:
21
21
22
22
In Revel, an interceptor can take one of three forms:
23
23
24
-
* A [Function Interceptor](#function_interceptor)
25
-
* A [Method Interceptor](#method_interceptor)
26
-
* A [Controller Auto Interceptor](#controller_auto_interceptor)
24
+
* A [Function Interceptor](#function-interceptor)
25
+
* A [Method Interceptor](#method-interceptor)
26
+
* A [Controller Auto Interceptor](#controller-auto-interceptor)
27
27
using the `revel.BeforeAfterFilter` filter
28
28
29
29
An Interceptor has an [intercept](#intercept_times) point in the request ([When](https://godoc.org/github.com/revel/revel#When))
@@ -120,7 +120,8 @@ Ensure your function names match `func (c Application) Before() (r revel.Result,
120
120
121
121
## Intercept Times
122
122
123
-
An interceptor can be registered to run at four points in the request lifecycle; defined in [When()](https://godoc.org/github.com/revel/revel#When):
123
+
An interceptor can be registered to run at four points in the request lifecycle;
124
+
defined in [When](https://godoc.org/github.com/revel/revel#When):
124
125
125
126
1.**BEFORE**
126
127
* After the request has been [routed](routing.html), the [session, flash](sessionflash.html), and [parameters](parameters.html) decoded, but before the action has been invoked.
0 commit comments