Skip to content
Snippets Groups Projects
Commit 6208899f authored by Arnaud Levy's avatar Arnaud Levy
Browse files

wip

parent b907dee1
No related branches found
No related tags found
No related merge requests found
class Api::Osuny::Communication::Websites::ApplicationController < Api::Osuny::ApplicationController
skip_before_action :verify_authenticity_token, only: :import
before_action :verify_app_token, only: :import
def import
Importers::Api::Osuny::Communication::Website::Page.new university: current_university,
website: website,
params: params[:page]
render json: :ok
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment