Skip to content

Commit

Permalink
... space... get it? (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink authored Jul 22, 2021
1 parent 5e96408 commit 717de65
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 717de65

Please sign in to comment.