Skip to content

Commit

Permalink
Massive fix for firefox bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
avp committed Dec 4, 2013
1 parent faae05d commit 9aeeb07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>com.sparkjava</groupId>
<artifactId>spark-core</artifactId>
<version>1.0</version>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.sparkjava</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/wikigraph/main/RunWebSiteMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ else if (args.length != 1) {
get(new FreeMarkerRoute("/") {
@Override
public Object handle(Request request, Response response) {
Map<String, Object> templateValues = new HashMap<String, Object>();
return modelAndView(templateValues, "index.ftl");
response.type("text/html");
return modelAndView(null, "index.ftl");
}
});

Expand Down

0 comments on commit 9aeeb07

Please sign in to comment.