rename /tv/feed - closes #1458

This commit is contained in:
Thibault Duplessis 2016-01-22 20:29:55 +07:00
parent 67c1fc62b6
commit 805989cef6
3 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@ object Tv extends LilaController {
}
}
def streamOut = Action.async {
def feed = Action.async {
import makeTimeout.short
import akka.pattern.ask
import lila.round.TvBroadcast

View file

@ -15,7 +15,7 @@
<body
class="base highlight @bg no-bg"
style="width: 224px; height: 264px; overflow: hidden;"
data-stream-url="@routes.Tv.streamOut">
data-stream-url="@routes.Tv.feed">
<div id="featured_game" class="is2d highlight @bg @theme merida" title="lichess.org TV">
@gameFenNoCtx(pov, tv = true, blank = true)
@game.vstext(pov)(none)

View file

@ -23,7 +23,6 @@ POST /games/export/:user controllers.Game.exportConfirm(user: Stri
GET /tv controllers.Tv.index
GET /tv/embed controllers.Tv.embed
GET /tv/frame controllers.Tv.frame
GET /tv/stream controllers.Tv.streamOut
GET /tv/stream/config controllers.Tv.streamConfig
POST /tv/stream/config controllers.Tv.streamConfigSave
GET /tv/:chanKey controllers.Tv.onChannel(chanKey: String)
@ -31,6 +30,7 @@ GET /tv/:chanKey/$gameId<\w{8}>/$color<white|black>/sides controllers.Tv.sides
GET /games controllers.Tv.games
GET /games/:chanKey controllers.Tv.gamesChannel(chanKey: String)
GET /tv/stream/:id controllers.Tv.streamIn(id: String)
GET /tv/feed controllers.Tv.feed
# Relation
POST /rel/follow/:userId controllers.Relation.follow(userId: String)