aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/Profile.scala
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-08 20:03:02 +0100
committerPacien TRAN-GIRARD2015-02-08 20:03:02 +0100
commitc00cb6ae05f548f7ae270a93ad44f57207380406 (patch)
treed4fff3d2ec28fcfb5be4e0eed2621f8ac1462b74 /app/controllers/Profile.scala
parent00443f9d168dc4fc272dee84c9ab8641062bf259 (diff)
downloadminibay-c00cb6ae05f548f7ae270a93ad44f57207380406.tar.gz
Put views in packages
Diffstat (limited to 'app/controllers/Profile.scala')
-rw-r--r--app/controllers/Profile.scala4
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