diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-05-15 13:03:09 -0500 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-05-15 14:24:11 -0500 |
commit | 86ef8221778d2aff630feecfa15ba70514983dbc (patch) | |
tree | aa760ef121c74a3c97131963f9c6c0790acf1f15 /app/presenters | |
parent | bdf279b151c2a530155425f352daac0576f1ec60 (diff) | |
download | gitlab-ce-86ef8221778d2aff630feecfa15ba70514983dbc.tar.gz |
Makes CommitStatus and GenericCommitStatus respond to presentable
methods
Includes Presentable module into CommitStatus. This fixes presenter
methods being called on those classes.
Closes #46177
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/commit_status_presenter.rb | 2 | ||||
-rw-r--r-- | app/presenters/generic_commit_status_presenter.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/presenters/commit_status_presenter.rb b/app/presenters/commit_status_presenter.rb new file mode 100644 index 00000000000..028deaf235c --- /dev/null +++ b/app/presenters/commit_status_presenter.rb @@ -0,0 +1,2 @@ +class CommitStatusPresenter < Ci::BuildPresenter +end diff --git a/app/presenters/generic_commit_status_presenter.rb b/app/presenters/generic_commit_status_presenter.rb new file mode 100644 index 00000000000..da09df29a37 --- /dev/null +++ b/app/presenters/generic_commit_status_presenter.rb @@ -0,0 +1,2 @@ +class GenericCommitStatusPresenter < CommitStatusPresenter +end |