lib/scrivito/cms_accessible.rb in scrivito_sdk-0.13.0 vs lib/scrivito/cms_accessible.rb in scrivito_sdk-0.14.0

- old
+ new

@@ -14,10 +14,10 @@ loaded_obj = request.env[CmsEnv::OBJ_ENV_KEY] raise loaded_obj if loaded_obj.is_a?(StandardError) @obj = loaded_obj end - # Deliver a binary @obj by redirecting to it's `body_data_url`. + # Deliver a binary @obj by redirecting to its `body_data_url`. # Will respond with 404 if the @obj has no blob. # @api public def deliver_file if @obj.body_data_url redirect_to enforce_protocol_from_request(@obj.body_data_url)