Skip to content

Commit 4ef36e6

Browse files
committed
Update 2015-03-17-spring.md
Change docs to specify that to be able to set custom SpringControllerFactory the application must extend from ControllerApplication
1 parent ab439de commit 4ef36e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2015-03-17-spring.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ public class ContactsController extends Controller {
2929

3030
Pippo automatically creates the _ContactsController_ instance and pippo-spring injects the ContactService service bean, so basically you don’t have to worry about any of that stuff.
3131

32-
To activate pippo-spring integration in your Application you must add `SpringControllerFactory`:
32+
To activate pippo-spring integration in your Application you must register `SpringControllerFactory` and extend from `ControllerApplication` instead:
3333

3434
```java
35-
public class MyApplication extends Application {
35+
public class MyApplication extends ControllerApplication {
3636

3737
@Override
3838
protected void onInit() {

0 commit comments

Comments
 (0)