projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move login requirement to SoneTemplatePage.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
ViewPostPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/ViewPostPage.java
b/src/main/java/net/pterodactylus/sone/web/ViewPostPage.java
index
0918e55
..
3f3dadc
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ViewPostPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ViewPostPage.java
@@
-36,7
+36,7
@@
public class ViewPostPage extends SoneTemplatePage {
* The Sone web interface
*/
public ViewPostPage(Template template, WebInterface webInterface) {
* The Sone web interface
*/
public ViewPostPage(Template template, WebInterface webInterface) {
- super("viewPost.html", template, "Page.ViewPost.Title", webInterface);
+ super("viewPost.html", template, "Page.ViewPost.Title", webInterface
, false
);
}
//
}
//
@@
-54,16
+54,4
@@
public class ViewPostPage extends SoneTemplatePage {
template.set("post", post);
}
template.set("post", post);
}
- //
- // SONETEMPLATEPAGE METHODS
- //
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected boolean requiresLogin() {
- return true;
- }
-
}
}