summaryrefslogtreecommitdiffstats
path: root/ui/src/components/community.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-28 19:05:11 -0700
committerDessalines <tyhou13@gmx.com>2019-04-28 19:05:11 -0700
commit50dfcefc9564baa896de8b3f1efbcc61de7054f3 (patch)
tree9428fb57451ebf7d21e5799fdba49161a7fc35d2 /ui/src/components/community.tsx
parent3c19843ce8b8f8582b09ba88e8d30bbc7b88cbc8 (diff)
Changing from forum to community
- Fixes #121
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r--ui/src/components/community.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx
index 53f1222c..fa8ae43b 100644
--- a/ui/src/components/community.tsx
+++ b/ui/src/components/community.tsx
@@ -174,7 +174,7 @@ export class Community extends Component<any, State> {
updateUrl() {
let sortStr = SortType[this.state.sort].toLowerCase();
- this.props.history.push(`/f/${this.state.community.name}/sort/${sortStr}/page/${this.state.page}`);
+ this.props.history.push(`/c/${this.state.community.name}/sort/${sortStr}/page/${this.state.page}`);
}
fetchPosts() {
@@ -199,7 +199,7 @@ export class Community extends Component<any, State> {
this.state.community = res.community;
this.state.moderators = res.moderators;
this.state.admins = res.admins;
- document.title = `/f/${this.state.community.name} - Lemmy`;
+ document.title = `/c/${this.state.community.name} - Lemmy`;
this.setState(this.state);
this.fetchPosts();
} else if (op == UserOperation.EditCommunity) {