Skip to content

disabling #show action disables trashcan link in <bootstrap-table-actions/> #164

@HuBandiT

Description

@HuBandiT

auto_actions :all, except: :show causes the <bootstrap-table-actions/> trashcan icon to lose its link, with the following message appearing in the log:

recognize_path has failed: No route matches "/foos/1-asd"

Looks like the logic within the link validity test tests the path with the default HTTP verb GET (which ends up testing the existence of the #show action) instead of the correct DELETE (which would correctly test the existence of the #destroy action).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions