gitlab-org--gitlab-foss/app/policies/release_policy.rb
Shinya Maeda 8f1e96c89b Add spec for Release API
Add spec for all release API - GET, POST, PUT, DELETE.
Also, fixes some minior bugs.
2018-12-31 14:35:57 +09:00

5 lines
100 B
Ruby

# frozen_string_literal: true
class ReleasePolicy < BasePolicy
delegate { @subject.project }
end