package controllers

import com.nhlreplay.Main
import play.api._
import play.api.mvc._

object Application extends Controller
{
  def index = Action {
    Main.main(Array.empty)
    Ok(views.html.index("Updated the latest game."))
  }

  def game = Action {
    Ok(views.html.game.render())
  }
}

package controllers

import com.nhlreplay.Main
import play.api._
import play.api.mvc._

object Application extends Controller
{
  def index: Action[AnyContent] = Action {
    Main.main(Array.empty)
    Ok(views.html.index("Updated the latest game."))
  }

  def game: Action[AnyContent] = Action {
    Ok(views.html.game.render())
  }
}

Define public method types explicitly
Define public method types explicitly
