mirror of
https://github.com/discourse/discourse.git
synced 2025-03-20 08:06:40 +08:00
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("tos", { path: "/tos" });
|
||||||
this.route("privacy", { path: "/privacy" });
|
this.route("privacy", { path: "/privacy" });
|
||||||
this.route("guidelines", { path: "/guidelines" });
|
this.route("guidelines", { path: "/guidelines" });
|
||||||
|
this.route("rules", { path: "/rules" });
|
||||||
|
|
||||||
this.route("new-topic", { path: "/new-topic" });
|
this.route("new-topic", { path: "/new-topic" });
|
||||||
this.route("new-message", { path: "/new-message" });
|
this.route("new-message", { path: "/new-message" });
|
||||||
|
3
app/assets/javascripts/discourse/routes/rules.js.es6
Normal file
3
app/assets/javascripts/discourse/routes/rules.js.es6
Normal file
@ -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_policy: "Privacy Policy"
|
||||||
privacy: "Privacy"
|
privacy: "Privacy"
|
||||||
tos: "Terms of Service"
|
tos: "Terms of Service"
|
||||||
|
rules: "Rules"
|
||||||
mobile_view: "Mobile View"
|
mobile_view: "Mobile View"
|
||||||
desktop_view: "Desktop View"
|
desktop_view: "Desktop View"
|
||||||
you: "You"
|
you: "You"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user