Better name for Project push methods module
This commit is contained in:
parent
c6034af44e
commit
2cf5a9efbc
|
@ -2,7 +2,7 @@ require "grit"
|
||||||
|
|
||||||
class Project < ActiveRecord::Base
|
class Project < ActiveRecord::Base
|
||||||
include Repository
|
include Repository
|
||||||
include GitPush
|
include ProjectPush
|
||||||
include Authority
|
include Authority
|
||||||
include Team
|
include Team
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module GitPush
|
module ProjectPush
|
||||||
def observe_push(oldrev, newrev, ref, user)
|
def observe_push(oldrev, newrev, ref, user)
|
||||||
data = post_receive_data(oldrev, newrev, ref, user)
|
data = post_receive_data(oldrev, newrev, ref, user)
|
||||||
|
|
Loading…
Reference in a new issue