socialforge/app/controllers/git_callback_controller.rb

9 lines
217 B
Ruby
Raw Normal View History

2015-03-17 20:52:12 +08:00
class GitCallbackController < ApplicationController
def post_update
@repository = Repository.find_by_root_url(params[:root_url])
@repository.fetch_changesets
render :text => 'success'
end
end