Update skinning with more flexible theme module

This commit is contained in:
Nabeel Shahzad
2018-03-11 18:00:42 -05:00
parent 03c15473b9
commit f05e37767f
50 changed files with 216 additions and 80 deletions

View File

@@ -28,7 +28,7 @@ class LoginController extends Controller
*/
public function showLoginForm()
{
return $this->view('auth/login');
return view('auth/login');
}
/**
@@ -54,11 +54,11 @@ class LoginController extends Controller
// Redirect to one of the error pages
if($user->state === UserState::PENDING) {
return $this->view('auth.pending');
return view('auth.pending');
} elseif ($user->state === UserState::REJECTED) {
return $this->view('auth.rejected');
return view('auth.rejected');
} elseif ($user->state === UserState::SUSPENDED) {
return $this->view('auth.suspended');
return view('auth.suspended');
}
}