disabling #show action disables trashcan link in <bootstrap-table-actions/>
HuBandiT opened this issue · comments
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).