Skip to content

Commit

Permalink
alerts-server: Remove unused code from PlayBinders
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexITC committed Jan 26, 2018
1 parent eb86357 commit 2b22fa3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions alerts-server/app/com/alexitc/coinalerts/commons/PlayBinders.scala
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,6 @@ object PlayBinders {
}
}

implicit def newCurrencyAlertIdPathBinder(implicit binder: PathBindable[Int]) = new PathBindable[NewCurrencyAlertId] {
override def bind(key: String, value: String): Either[String, NewCurrencyAlertId] = {
for {
int <- binder.bind(key, value).right
} yield NewCurrencyAlertId(int)
}

override def unbind(key: String, value: NewCurrencyAlertId): String = {
binder.unbind(key, value.int)
}
}

private val DefaultOffset = 0
private val DefaultLimit = 20

Expand Down

0 comments on commit 2b22fa3

Please sign in to comment.