diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-08-16 22:05:44 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-08-30 21:39:22 +0300 |
commit | 16fe6dc7b159a0e6b68a586065de1f95d6acecfa (patch) | |
tree | afcf34e0af423e603a915dbda365a4ab5e608d74 /app/policies/commit_status_policy.rb | |
parent | 092861093066f6b474c2dc72de34acf64380a3e6 (diff) |
port CommitStatus/Build
Diffstat (limited to 'app/policies/commit_status_policy.rb')
-rw-r--r-- | app/policies/commit_status_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/commit_status_policy.rb b/app/policies/commit_status_policy.rb new file mode 100644 index 00000000000..593df738328 --- /dev/null +++ b/app/policies/commit_status_policy.rb @@ -0,0 +1,5 @@ +class CommitStatusPolicy < BasePolicy + def rules + delegate! @subject.project + end +end |