diff options
author | Pacien TRAN-GIRARD | 2015-02-08 20:03:02 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-02-08 20:03:02 +0100 |
commit | c00cb6ae05f548f7ae270a93ad44f57207380406 (patch) | |
tree | d4fff3d2ec28fcfb5be4e0eed2621f8ac1462b74 /app/controllers/Profile.scala | |
parent | 00443f9d168dc4fc272dee84c9ab8641062bf259 (diff) | |
download | minibay-c00cb6ae05f548f7ae270a93ad44f57207380406.tar.gz |
Put views in packages
Diffstat (limited to 'app/controllers/Profile.scala')
-rw-r--r-- | app/controllers/Profile.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/Profile.scala b/app/controllers/Profile.scala index a41b3e9..8181106 100644 --- a/app/controllers/Profile.scala +++ b/app/controllers/Profile.scala | |||
@@ -98,7 +98,7 @@ object Profile extends Controller { | |||
98 | if (request.account.nonEmpty) { | 98 | if (request.account.nonEmpty) { |
99 | Redirect(routes.Application.index()) | 99 | Redirect(routes.Application.index()) |
100 | } else { | 100 | } else { |
101 | Ok(views.html.pages.signupForm(signupForm)) | 101 | Ok(views.html.pages.auth.signupForm(signupForm)) |
102 | } | 102 | } |
103 | } | 103 | } |
104 | 104 | ||
@@ -109,7 +109,7 @@ object Profile extends Controller { | |||
109 | DB.withSession { implicit session => | 109 | DB.withSession { implicit session => |
110 | signupForm.bindFromRequest.fold( | 110 | signupForm.bindFromRequest.fold( |
111 | formWithErrors => { | 111 | formWithErrors => { |
112 | BadRequest(views.html.pages.signupForm(formWithErrors)) | 112 | BadRequest(views.html.pages.auth.signupForm(formWithErrors)) |
113 | }, | 113 | }, |
114 | validForm => { | 114 | validForm => { |
115 | 115 | ||