app/controllers/administrate/application_controller.rb in administrate-0.19.0 vs app/controllers/administrate/application_controller.rb in administrate-0.20.0

- old
+ new

@@ -42,9 +42,10 @@ def create resource = new_resource(resource_params) authorize_resource(resource) if resource.save + yield(resource) if block_given? redirect_to( after_resource_created_path(resource), notice: translate_with_resource("create.success"), ) else