OSDN Git Service

Implementation the Authentication Error.
[open-pdm-light/PartList.git] / PartsList / PartsList / app / controllers / Application.scala
1 package controllers
2
3 import play.api._
4 import play.api.mvc._
5 import controllers._
6
7 object Application extends Controller {
8   
9   def index = AuthAction {
10     Action { implicit request =>
11         if(request == null) {
12                 Ok(views.html.errors.errorNotAuthentication())      
13         } else {
14                 Ok(views.html.index("Your new application is ready."))
15         }
16     }
17   }
18 }