FIX: /rules route showed error page

This commit is contained in:
Neil Lalonde 2018-08-28 20:40:02 -04:00
parent feeaac81df
commit 7516f5159e
3 changed files with 5 additions and 0 deletions

View File

@ -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" });

View File

@ -0,0 +1,3 @@
import staticRouteBuilder from "discourse/lib/static-route-builder";
export default staticRouteBuilder("rules");

View File

@ -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"