public function makeDetailPage($id) { $role = Role::find($id); $features_permissions = Feature::getFeaturePermissions($id); //return $features_permissions; $users = User::where('role_id', $id)->get(); //return $features_permissions; $actions = Role::actionSchema(); //return $action; return View::make('backend.role.show')->with('actions', $actions)->with('features_permissions', $features_permissions)->with('role', $role)->with('users', $users)->with('module', $this->module); }