Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HuBandiT opened this issue Jul 14, 2015 · 0 comments

Comments

@HuBandiT
Copy link

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).

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

No branches or pull requests

1 participant