public static function link($destination, $text) { return '<a href="' . HTML::escape(URI::get($destination)) . '">' . HTML::escape($text) . '</a>'; }
public function logout() { Auth::logout(); Flash::set('Logged you out.'); $this->redirect(URI::get('user/login')); }