Class: Blacklight::Oembed::EmbedController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/blacklight/oembed/embed_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



4
5
6
# File 'app/controllers/blacklight/oembed/embed_controller.rb', line 4

def show
  render json: { html: get_embed_content(params[:url], additional_params) }
end