#23 cleaned up rank data and templates

This commit is contained in:
Nabeel Shahzad
2017-07-02 15:03:25 -05:00
parent 244d1ae7bd
commit 9dc880d7d3
6 changed files with 17 additions and 35 deletions

View File

@@ -76,10 +76,11 @@ class RankController extends BaseController
$model = $this->rankRepository->create($input);
Flash::success('Ranking saved successfully.');
$ranks = $this->rankRepository->all();
return redirect(route('admin.ranks.edit', ['id' => $model->id]));
/*$ranks = $this->rankRepository->all();
return view('admin.ranks.table', [
'ranks' => $ranks,
]);
]);*/
}
/**