Skip to content

Commit

Permalink
added temp show method
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Apr 16, 2018
1 parent 1baee60 commit 5dc4ca6
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/Http/Controllers/Banking/Accounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ public function index()
return view('banking.accounts.index', compact('accounts'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('banking/accounts');
}

/**
* Show the form for creating a new resource.
*
Expand Down
10 changes: 10 additions & 0 deletions app/Http/Controllers/Banking/Transfers.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ public function index()
return view('banking.transfers.index', compact('transfers', 'items', 'accounts'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('banking/transfers');
}

/**
* Show the form for creating a new resource.
*
Expand Down
11 changes: 11 additions & 0 deletions app/Http/Controllers/Companies/Companies.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ public function index()

return view('companies.companies.index', compact('companies'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('companies/companies');
}

/**
* Show the form for creating a new resource.
*
Expand Down
10 changes: 10 additions & 0 deletions app/Http/Controllers/Expenses/Payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ public function index()
return view('expenses.payments.index', compact('payments', 'vendors', 'categories', 'accounts', 'transfer_cat_id'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('expenses/payments');
}

/**
* Show the form for creating a new resource.
*
Expand Down
10 changes: 10 additions & 0 deletions app/Http/Controllers/Incomes/Revenues.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ public function index()
return view('incomes.revenues.index', compact('revenues', 'customers', 'categories', 'accounts', 'transfer_cat_id'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('incomes/revenues');
}

/**
* Show the form for creating a new resource.
*
Expand Down
10 changes: 10 additions & 0 deletions app/Http/Controllers/Items/Items.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ public function index()
return view('items.items.index', compact('items', 'categories'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('items/items');
}

/**
* Show the form for creating a new resource.
*
Expand Down
10 changes: 10 additions & 0 deletions app/Http/Controllers/Settings/Categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ public function index()
return view('settings.categories.index', compact('categories', 'types', 'transfer_id'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('settings/categories');
}

/**
* Show the form for creating a new resource.
*
Expand Down
10 changes: 10 additions & 0 deletions app/Http/Controllers/Settings/Currencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ public function index()
return view('settings.currencies.index', compact('currencies'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('settings/currencies');
}

/**
* Show the form for creating a new resource.
*
Expand Down
10 changes: 10 additions & 0 deletions app/Http/Controllers/Settings/Taxes.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ public function index()
return view('settings.taxes.index', compact('taxes', 'rates'));
}

/**
* Show the form for viewing the specified resource.
*
* @return Response
*/
public function show()
{
return redirect('settings/taxes');
}

/**
* Show the form for creating a new resource.
*
Expand Down

0 comments on commit 5dc4ca6

Please sign in to comment.