You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
404 B

package controllers
import com.xsn.explorer.services.StatisticsService
import controllers.common.{MyJsonController, MyJsonControllerComponents}
import javax.inject.Inject
class StatisticsController @Inject() (
statisticsService: StatisticsService,
cc: MyJsonControllerComponents)
extends MyJsonController(cc) {
def getStatus() = public { _ =>
statisticsService.getStatistics()
}
}