Skip to content
Snippets Groups Projects
Unverified Commit 02d272cf authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix access to OEmbed endpoint in secure mode (#12864)

parent 37b51398
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,8 @@
class Api::OEmbedController < Api::BaseController
respond_to :json
skip_before_action :require_authenticated_user!
def show
@status = status_finder.status
render json: @status, serializer: OEmbedSerializer, width: maxwidth_or_default, height: maxheight_or_default
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment