socialforge/app/controllers/git_callback_controller.rb

9 lines
217 B
Ruby

class GitCallbackController < ApplicationController
def post_update
@repository = Repository.find_by_root_url(params[:root_url])
@repository.fetch_changesets
render :text => 'success'
end
end