public function getDetail($post_slug) { $post = SdcPost::wherePost_slug($post_slug)->first(); return $post; }