Search controller.

This commit is contained in:
James Cole
2015-02-27 11:09:23 +01:00
parent fc5c339e27
commit 8f578ed95a
11 changed files with 328 additions and 17 deletions

View File

@@ -70,7 +70,7 @@ class BillController extends Controller
{
$periods = \Config::get('firefly.periods_to_text');
return View::make('bills.edit')->with('periods', $periods)->with('bill', $bill)->with('subTitle', 'Edit "' . e($bill->name) . '"');
return view('bills.edit')->with('periods', $periods)->with('bill', $bill)->with('subTitle', 'Edit "' . e($bill->name) . '"');
}
/**
@@ -92,7 +92,7 @@ class BillController extends Controller
}
);
return View::make('bills.index', compact('bills'));
return view('bills.index', compact('bills'));
}
/**
@@ -140,7 +140,7 @@ class BillController extends Controller
$hideBill = true;
return View::make('bills.show', compact('journals', 'hideBill', 'bill'))->with('subTitle', e($bill->name));
return view('bills.show', compact('journals', 'hideBill', 'bill'))->with('subTitle', e($bill->name));
}
/**