public function activationHasSucceed(Fluent $extension)
    {
        $this->dispatch(new RefreshRouteCache());

        $message = trans('orchestra/foundation::response.extensions.activate', $extension->getAttributes());

        return $this->redirectWithMessage(handles('orchestra::extensions'), $message);
    }
public function activationHasSucceed(Fluent $extension)
    {
        $this->dispatch(new RefreshRouteCache());

        $message = trans('orchestra/foundation::response.extensions.activate', $extension->getAttributes());

        return $this->redirectWithMessage(handles('orchestra::extensions'), $message);
    }
public function activationHasSucceed ( Fluent $ extension ) { $ this -> dispatch ( new RefreshRouteCache ( ) ) ; $ message = trans ( 'orchestra/foundation::response.extensions.activate' , $ extension -> getAttributes ( ) ) ; return $ this -> redirectWithMessage ( handles ( 'orchestra::extensions' ) , $ message ) ; }
Response when extension activation has succeed.

@param  \Illuminate\Support\Fluent  $extension

@return mixed
Response when extension activation has succeed .