From 4cf0713b378254589ce7b3a21ba8dc97d0b4a399 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Sun, 3 May 2020 14:59:59 -0400 Subject: [PATCH] Don't require user to embed Fixes #80 --- app/controllers/api/web/embeds_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/api/web/embeds_controller.rb b/app/controllers/api/web/embeds_controller.rb index 817c3e4e..a62b1af4 100644 --- a/app/controllers/api/web/embeds_controller.rb +++ b/app/controllers/api/web/embeds_controller.rb @@ -3,8 +3,6 @@ class Api::Web::EmbedsController < Api::Web::BaseController respond_to :json - before_action :require_user! - def create status = StatusFinder.new(params[:url]).status render json: status, serializer: OEmbedSerializer, width: 400