-
- Downloads
Improve api oembed controller (#3450)
* Add StreamEntryFinder class to parse URLs * Use StreamEntryFinder and clean up api/oembed controller
Showing
- app/controllers/api/oembed_controller.rb 9 additions, 17 deletionsapp/controllers/api/oembed_controller.rb
- app/lib/stream_entry_finder.rb 34 additions, 0 deletionsapp/lib/stream_entry_finder.rb
- spec/controllers/api/oembed_controller_spec.rb 2 additions, 0 deletionsspec/controllers/api/oembed_controller_spec.rb
- spec/lib/stream_entry_finder_spec.rb 47 additions, 0 deletionsspec/lib/stream_entry_finder_spec.rb
app/lib/stream_entry_finder.rb
0 → 100644
spec/lib/stream_entry_finder_spec.rb
0 → 100644
Please register or sign in to comment