Eugen Rochko
преди 4 години
committed by
GitHub
родител
ревизия
02d272cf49
No known key found for this signature in database
GPG ключ ID: 4AEE18F83AFDEB23
променени са
1 файла, в които са
добавени 2 реда и са
изтрити 0 реда
-
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 |
|
|
|