Skip to content

Commit

Permalink
adjustments for default language switch
Browse files Browse the repository at this point in the history
  • Loading branch information
herizo committed Jul 17, 2018
1 parent ad4fd70 commit 75e115b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Blog extends ComponentBase
{
public function articles(){
//conditions here

return Post::where('lang_id', Session::get('lang_id'))->get();
}

Expand Down

0 comments on commit 75e115b

Please sign in to comment.