*/ class AdvancedController extends Controller { public function sessions() { $sessions = DB::table('sessions') ->where('user_id', ActiveUser::$user->id) ->get(); Template::vars(compact('sessions')); return Template::render('settings/advanced/sessions'); } public function deactivate() { return $this->go('advanced.deactivate'); } }