Skip to content

Commit 4e4d5e0

Browse files
committed
Merge pull request #28 from balamaci/spring-patch-1
Update 2015-03-17-spring.md - application must extend from ControllerApplication
2 parents ab439de + 4ef36e6 commit 4e4d5e0

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)