Skip to content

Adding the delete action to the building a web app guide#349

Open
carolyncole wants to merge 1 commit intohanami:mainfrom
carolyncole:add-delete
Open

Adding the delete action to the building a web app guide#349
carolyncole wants to merge 1 commit intohanami:mainfrom
carolyncole:add-delete

Conversation

@carolyncole
Copy link
Contributor

@carolyncole carolyncole commented Mar 3, 2026

This is a follow on to #347

Now let's generate the action:

```shell
$ bin/hanami generate action books.destroy --skip-route --skip-tests --skip-view
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timriley having to add the --skip-view seems like a bug. Do you expect a delete view? I can adjust the documentation if a button on the show page is not the expected interface to delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant