diff --git a/app/controllers/Page.scala b/app/controllers/Page.scala index f3f4e8dc25..1052aeaf2e 100644 --- a/app/controllers/Page.scala +++ b/app/controllers/Page.scala @@ -31,7 +31,7 @@ object Page extends LilaController { def antichess = page("antichess") - def chess960 = page("chess960") + def fischerrandom = page("chess960") def horde = page("horde") diff --git a/app/views/game/variantLink.scala.html b/app/views/game/variantLink.scala.html index e5fd60ddd3..c6eac64ed0 100644 --- a/app/views/game/variantLink.scala.html +++ b/app/views/game/variantLink.scala.html @@ -2,7 +2,7 @@ @url = { @variant match { case chess.variant.Standard => {https://en.wikipedia.org/wiki/Chess} -case chess.variant.Chess960 => {@routes.Page.chess960} +case chess.variant.Chess960 => {@routes.Page.fischerrandom} case chess.variant.KingOfTheHill => {@routes.Page.kingOfTheHill} case chess.variant.ThreeCheck => {http://en.wikipedia.org/wiki/Three-check_chess} case chess.variant.Antichess => {@routes.Page.antichess} diff --git a/conf/routes b/conf/routes index dd8436944d..edc4418f9d 100644 --- a/conf/routes +++ b/conf/routes @@ -88,6 +88,22 @@ GET /blog controllers.Blog.index(ref: Option[String GET /blog/:id/:slug controllers.Blog.show(id: String, slug: String, ref: Option[String] ?= None) GET /blog.atom controllers.Blog.atom(ref: Option[String] ?= None) +# Pages +GET /thanks controllers.Page.thanks +GET /help-lichess controllers.Page.helpLichess +GET /terms-of-service controllers.Page.tos +GET /how-to-stream-on-lichess controllers.Page.streamHowTo +GET /contact controllers.Page.contact +GET /master controllers.Page.master +GET /king-of-the-hill controllers.Page.kingOfTheHill +GET /atomic controllers.Page.atomic +GET /antichess controllers.Page.antichess +GET /chess960 controllers.Page.fischerrandom +GET /horde controllers.Page.horde +GET /racing-kings controllers.Page.racingKings +GET /crazyhouse controllers.Page.crazyhouse +GET /privacy controllers.Page.privacy + # Training - Opening GET /training/opening controllers.Opening.home GET /training/opening/history controllers.Opening.history @@ -387,22 +403,6 @@ GET /network/stream controllers.WorldMap.stream POST /mobile/register/:platform/:deviceId controllers.Main.mobileRegister(platform: String, deviceId: String) POST /mobile/unregister controllers.Main.mobileUnregister -# Pages -GET /thanks controllers.Page.thanks -GET /help-lichess controllers.Page.helpLichess -GET /terms-of-service controllers.Page.tos -GET /how-to-stream-on-lichess controllers.Page.streamHowTo -GET /contact controllers.Page.contact -GET /master controllers.Page.master -GET /king-of-the-hill controllers.Page.kingOfTheHill -GET /atomic controllers.Page.atomic -GET /antichess controllers.Page.antichess -GET /chess960 controllers.Page.chess960 -GET /horde controllers.Page.horde -GET /racing-kings controllers.Page.racingKings -GET /crazyhouse controllers.Page.crazyhouse -GET /privacy controllers.Page.privacy - # Donate GET /donate controllers.Donation.index GET /donate/thanks controllers.Donation.thanks