Skip to content

Actions - Standalone and Resource #3369

Answered by crynobone
ale1981 asked this question in Q&A
Discussion options

You must be logged in to vote

This has been fixed with v3.25.0 release.

Example:

    /**
     * Get the actions available for the resource.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function actions(Request $request)
    {
        return [
            new Actions\Sleep,
            Actions\Sleep::make()->standalone(),
        ];
    }

Without selecting any resources

With selected resources

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ale1981
Comment options

@crynobone
Comment options

@ale1981
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by crynobone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants