summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-16 11:30:35 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-16 11:30:35 -0400
commit48b2425c1d49560094b2935e6451d55cd5aa1f1a (patch)
treea5db88b66e2490902c964288a1552303417ec682 /models/action.go
parent015174484a3aa430e30801e0c3c5ce0bdc4a5bf5 (diff)
downloadgitea-48b2425c1d49560094b2935e6451d55cd5aa1f1a.tar.gz
gitea-48b2425c1d49560094b2935e6451d55cd5aa1f1a.zip
Push feed
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go
index ceee9997a4..978e805c88 100644
--- a/models/action.go
+++ b/models/action.go
@@ -44,6 +44,10 @@ func (a Action) GetRepoName() string {
return a.RepoName
}
+func (a Action) GetContent() string {
+ return a.Content
+}
+
// CommitRepoAction records action for commit repository.
func CommitRepoAction(userId int64, userName string,
repoId int64, repoName string, commits [][]string) error {