socialforge/lib/rails_kindeditor/config/routes.rb

7 lines
192 B
Ruby

Rails.application.routes.draw do
namespace :kindeditor do
post "/upload" => "assets#create"
get "/filemanager" => "assets#list"
get "/uploadpic" => "assets#uploadpic"
end
end