Files
adamantium/slices/admin/actions/posts/syndicate.rb

16 lines
311 B
Ruby

# frozen_string_literal: true
module Admin
module Actions
module Posts
class Syndicate < Admin::Action
include Deps["commands.posts.syndicate"]
def handle(req, res)
syndicate.(post_id: req.params[:id], target: req.params[:target])
end
end
end
end
end