update v1.0.7.5

This commit is contained in:
Sujit Prasad
2016-06-17 20:28:31 +05:30
parent 7fba00a7a0
commit a3fbf1acd4
150 changed files with 2515 additions and 3697 deletions

View File

@@ -146,6 +146,9 @@ class UserController extends Controller
{
/* get the article_id where category_id == current category */
$catid = $category->where('slug', $slug)->first();
if(!$catid){
return redirect()->back()->with('fails',Lang::get('lang.we_are_sorry_but_the_page_you_are_looking_for_can_not_be_found'));
}
$id = $catid->id;
$all = $relation->where('category_id', $id)->get();
// $all->setPath('');