Unverified Commit f9c8822a authored byBrowse files
Create `get_build` for project model
Inside of `Projects::ArtifactsController` and `Projects::BuildArtifactsController` we fetching the build by id using active record directly which violates `CodeReuse/ActiveRecord` rubocop rule. Create `get_build` inside of `project` model which does the same thing.
Showing with 30 additions and 7 deletions