[Notice] Announcing the End of Demo Server [Read me]

Fix empty-paren method calls
@ee0b1b4bb769cf8cc5b5bd0de2cb709e503c6076
--- app/views/board/create.scala.html
+++ app/views/board/create.scala.html
... | ... | @@ -75,7 +75,7 @@ |
75 | 75 |
$yobi.loadModule("board.Write", { |
76 | 76 |
"sMode" : "new", |
77 | 77 |
"elTextarea" : $("#body"), |
78 |
- "sUploaderAction": "@routes.AttachmentApp.uploadFile" |
|
78 |
+ "sUploaderAction": "@routes.AttachmentApp.uploadFile()" |
|
79 | 79 |
}); |
80 | 80 |
|
81 | 81 |
$("#title").focus(); |
--- app/views/board/view.scala.html
+++ app/views/board/view.scala.html
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 |
@import models.enumeration._ |
7 | 7 |
@implicitField = @{ helper.FieldConstructor(simpleForm) } |
8 | 8 |
|
9 |
-@urlToPostings = @{ urlToList(request.getHeader("Referer"), routes.BoardApp.posts(project.owner, project.name).toString) } |
|
9 |
+@urlToPostings = @{ urlToList(request.getHeader("Referer"), routes.BoardApp.posts(project.owner, project.name).toString()) } |
|
10 | 10 |
|
11 | 11 |
@isAuthorComment(commentId: String) = @{ |
12 | 12 |
if(commentId == UserApp.currentUser().loginId) {"author"} |
--- app/views/common/scripts.scala.html
+++ app/views/common/scripts.scala.html
... | ... | @@ -102,8 +102,8 @@ |
102 | 102 |
|
103 | 103 |
// yobi.Files |
104 | 104 |
yobi.Files.init({ |
105 |
- "sListURL" : "@routes.AttachmentApp.getFileList", |
|
106 |
- "sUploadURL": "@routes.AttachmentApp.uploadFile" |
|
105 |
+ "sListURL" : "@routes.AttachmentApp.getFileList()", |
|
106 |
+ "sUploadURL": "@routes.AttachmentApp.uploadFile()" |
|
107 | 107 |
}); |
108 | 108 |
|
109 | 109 |
// ajax for issue link detail(ui.IssuePreview) |
--- app/views/git/view.scala.html
+++ app/views/git/view.scala.html
... | ... | @@ -122,9 +122,9 @@ |
122 | 122 |
yobi.Mention({ |
123 | 123 |
target:'comment-editor', |
124 | 124 |
@if(pull.getCurrentCommits.isEmpty()) { |
125 |
- url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, "", pull.id).toString)" |
|
125 |
+ url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, "", pull.id).toString())" |
|
126 | 126 |
} else { |
127 |
- url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, pull.getCurrentCommits.get(0).getCommitId, pull.id).toString)" |
|
127 |
+ url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, pull.getCurrentCommits.get(0).getCommitId, pull.id).toString())" |
|
128 | 128 |
} |
129 | 129 |
}); |
130 | 130 |
|
--- app/views/git/viewChanges.scala.html
+++ app/views/git/viewChanges.scala.html
... | ... | @@ -51,9 +51,9 @@ |
51 | 51 |
yobi.Mention({ |
52 | 52 |
target:'comment-editor', |
53 | 53 |
@if(pull.getCurrentCommits.isEmpty()) { |
54 |
- url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, "", pull.id).toString)" |
|
54 |
+ url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, "", pull.id).toString())" |
|
55 | 55 |
} else { |
56 |
- url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, pull.getCurrentCommits.get(0).getCommitId, pull.id).toString)" |
|
56 |
+ url : "@Html(routes.ProjectApp.mentionListAtPullRequest(pull.toProject.owner, pull.toProject.name, pull.getCurrentCommits.get(0).getCommitId, pull.id).toString())" |
|
57 | 57 |
} |
58 | 58 |
}); |
59 | 59 |
|
--- app/views/issue/view.scala.html
+++ app/views/issue/view.scala.html
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 |
|
18 | 18 |
@isFirstState(state:State) = {@if(issue.state.state == Issue.availableStates.get(0).state()){dirty}} |
19 | 19 |
|
20 |
-@urlToIssues = @{ urlToList(request.getHeader("Referer"), routes.IssueApp.issues(project.owner, project.name, "open").toString) } |
|
20 |
+@urlToIssues = @{ urlToList(request.getHeader("Referer"), routes.IssueApp.issues(project.owner, project.name, "open").toString()) } |
|
21 | 21 |
|
22 | 22 |
@projectLayout(getTitle(issue), project, utils.MenuType.ISSUE){ |
23 | 23 |
@projectMenu(project, utils.MenuType.ISSUE, "main-menu-only") |
--- app/views/user/edit.scala.html
+++ app/views/user/edit.scala.html
... | ... | @@ -184,7 +184,7 @@ |
184 | 184 |
<script type="text/javascript"> |
185 | 185 |
$(document).ready(function(){ |
186 | 186 |
$yobi.loadModule("user.Setting", { |
187 |
- "sURLUpload": "@routes.AttachmentApp.uploadFile", |
|
187 |
+ "sURLUpload": "@routes.AttachmentApp.uploadFile()", |
|
188 | 188 |
"sURLFiles" : "@routes.AttachmentApp.getFileList()" |
189 | 189 |
}); |
190 | 190 |
}); |
--- app/views/welcome/secret.scala.html
+++ app/views/welcome/secret.scala.html
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 |
</div> |
46 | 46 |
</div> |
47 | 47 |
<div class="signup-form-wrap frm-wrap"> |
48 |
- <form action="@routes.Application.fake" method="post" class="input-append"> |
|
48 |
+ <form action="@routes.Application.fake()" method="post" class="input-append"> |
|
49 | 49 |
<dl> |
50 | 50 |
@defining(newUserForm.errors().get("loginId")){ errors => |
51 | 51 |
<dt> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?