Skip to content

Commit

Permalink
Merge branch 'master' into releases/0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink committed Jul 22, 2021
2 parents da8e612 + 717de65 commit 4c5eb37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class <%= pluralized_name %>::Delete < BrowserAction
<%= route("Delete") %> do
<%= underscored_resource %> = <%= query_class %>.find(<%= resource_id_method_name %>)
<%= underscored_resource %> = <%= query_class %>.find(<%= resource_id_method_name %>)
Delete<%= resource %>.delete(<%= underscored_resource %>) do |_operation, _deleted|
flash.success = "Deleted the <%= underscored_resource %>"
redirect Index
Expand Down

0 comments on commit 4c5eb37

Please sign in to comment.