Eugen Rochko
pirms 4 gadiem
committed by
GitHub
vecāks
revīzija
02d272cf49
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar
2 papildinājumiem un
0 dzēšanām
-
app/controllers/api/oembed_controller.rb
|
|
@@ -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 |
|
|
|