Skip to content

Commit

Permalink
Fix indentation of the first controller
Browse files Browse the repository at this point in the history
  • Loading branch information
vitornp committed Aug 22, 2014
1 parent 2f170bf commit f44852f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions vraptor-site/content/en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#!java
@Controller
public class FirstController {

@Inject private Result result;

@Get("/home")
Expand All @@ -45,12 +45,12 @@
<!DOCTYPE html>

<html>
<head>
<title>Home page</title>
</head>
<body>
${message}
</body>
<head>
<title>Home page</title>
</head>
<body>
${message}
</body>
</html>
~~~
</div>
Expand Down
22 changes: 11 additions & 11 deletions vraptor-site/content/pt/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
@Controller
public class PrimeiroController {

@Inject private Result result;
@Inject private Result result;

@Get("/home")
public void home() {
result.include("mensagem", "Olá, VRaptor 4!");
}
@Get("/home")
public void home() {
result.include("mensagem", "Olá, VRaptor 4!");
}
}
~~~
</div>
Expand All @@ -43,12 +43,12 @@
<!DOCTYPE html>

<html>
<head>
<title>Página inicial</title>
</head>
<body>
${mensagem}
</body>
<head>
<title>Página inicial</title>
</head>
<body>
${mensagem}
</body>
</html>
~~~
</div>
Expand Down

0 comments on commit f44852f

Please sign in to comment.