Add basic OEmbed provider API, fix #247
Showing
- app/controllers/api/oembed_controller.rb 21 additions, 0 deletionsapp/controllers/api/oembed_controller.rb
- app/helpers/api/oembed_helper.rb 2 additions, 0 deletionsapp/helpers/api/oembed_helper.rb
- app/views/api/oembed/show.json.rabl 14 additions, 0 deletionsapp/views/api/oembed/show.json.rabl
- app/views/stream_entries/show.html.haml 5 additions, 0 deletionsapp/views/stream_entries/show.html.haml
- config/routes.rb 3 additions, 0 deletionsconfig/routes.rb
- spec/controllers/api/oembed_controller_spec.rb 5 additions, 0 deletionsspec/controllers/api/oembed_controller_spec.rb
- spec/helpers/api/oembed_helper_spec.rb 15 additions, 0 deletionsspec/helpers/api/oembed_helper_spec.rb
app/controllers/api/oembed_controller.rb
0 → 100644
app/helpers/api/oembed_helper.rb
0 → 100644
app/views/api/oembed/show.json.rabl
0 → 100644
spec/helpers/api/oembed_helper_spec.rb
0 → 100644
Please register or sign in to comment