Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indentation of the first controller #752

Merged
merged 1 commit into from
Aug 22, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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