osunyorg/admin

View on GitHub
app/controllers/api/osuny/communication/websites/pages_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Api::Osuny::Communication::Websites::PagesController < Api::Osuny::Communication::Websites::ApplicationController
  # TODO create
  def import
    Importers::Api::Osuny::Communication::Website::Page.new university: current_university,
                                                            website: website,
                                                            params: params[:page]
    render json: :ok
  end
end