Fixed some bugs in transaction handling. [skip ci]

This commit is contained in:
James Cole
2014-08-09 06:12:49 +02:00
parent cdd5a6c225
commit 1a296265a3
8 changed files with 230 additions and 15 deletions

View File

@@ -133,14 +133,9 @@ class TransactionController extends BaseController
*
* @return $this|\Illuminate\View\View
*/
public function show($journalId)
public function show(TransactionJournal $journal)
{
// $journal = $this->_journal->find($journalId);
// if ($journal) {
// return View::make('transactions.show')->with('journal', $journal);
// }
//
// return View::make('error')->with('message', 'Invalid journal');
return View::make('transactions.show')->with('journal', $journal);
}
/**