FIX: /rules route showed error page
This commit is contained in:
parent
feeaac81df
commit
7516f5159e
|
@ -179,6 +179,7 @@ export default function() {
|
|||
this.route("tos", { path: "/tos" });
|
||||
this.route("privacy", { path: "/privacy" });
|
||||
this.route("guidelines", { path: "/guidelines" });
|
||||
this.route("rules", { path: "/rules" });
|
||||
|
||||
this.route("new-topic", { path: "/new-topic" });
|
||||
this.route("new-message", { path: "/new-message" });
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import staticRouteBuilder from "discourse/lib/static-route-builder";
|
||||
|
||||
export default staticRouteBuilder("rules");
|
|
@ -229,6 +229,7 @@ en:
|
|||
privacy_policy: "Privacy Policy"
|
||||
privacy: "Privacy"
|
||||
tos: "Terms of Service"
|
||||
rules: "Rules"
|
||||
mobile_view: "Mobile View"
|
||||
desktop_view: "Desktop View"
|
||||
you: "You"
|
||||
|
|
Loading…
Reference in New Issue