Created
April 26, 2017 17:09
-
-
Save Mombuyish/7c080d6d3585628b69e7296c354d2c8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//get Active data | |
@foreach ($posts->active() as $post) | |
//..... | |
@endforeach | |
//get deactivate data | |
@foreach ($posts->deactivate() as $post) | |
//..... | |
@endforeach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment