Removed deprecated function.

This commit is contained in:
James Cole
2014-09-23 22:00:11 +02:00
parent eeb773fd7b
commit b23d2a9d95
2 changed files with 5 additions and 2 deletions

View File

@@ -87,7 +87,10 @@ class LimitController extends BaseController
*/
public function edit(Limit $limit)
{
$budgets = $this->_budgets->getAsSelectList();
/** @var \Firefly\Helper\Toolkit\Toolkit $toolkit */
$toolkit = App::make('Firefly\Helper\Toolkit\Toolkit');
$budgets = $toolkit->makeSelectList($this->_budgets->get());
$periods = \Config::get('firefly.periods_to_text');
return View::make('limits.edit')->with('limit', $limit)->with('budgets', $budgets)->with(