public function edit($publicId)
{
$token = AccountToken::where('account_id', '=', Auth::user()->account_id)->where('public_id', '=', $publicId)->firstOrFail();
$data = ['token' => $token, 'method' => 'PUT', 'url' => 'tokens/' . $publicId, 'title' => trans('texts.edit_token')];
return View::make('accounts.token', $data);
}