parent
055b5a430f
commit
4cf0713b37
@ -3,8 +3,6 @@
|
|||||||
class Api::Web::EmbedsController < Api::Web::BaseController
|
class Api::Web::EmbedsController < Api::Web::BaseController
|
||||||
respond_to :json
|
respond_to :json
|
||||||
|
|
||||||
before_action :require_user!
|
|
||||||
|
|
||||||
def create
|
def create
|
||||||
status = StatusFinder.new(params[:url]).status
|
status = StatusFinder.new(params[:url]).status
|
||||||
render json: status, serializer: OEmbedSerializer, width: 400
|
render json: status, serializer: OEmbedSerializer, width: 400
|
||||||
|
Loading…
Reference in New Issue
Block a user