Commit a5383054 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Use ActiveSupport::Concern

parent 15de364e
module EE module EE
module API module API
module JobArtifacts module JobArtifacts
def self.prepended(api) extend ActiveSupport::Concern
api.module_eval do
prepended do
helpers do helpers do
def authorize_download_artifacts! def authorize_download_artifacts!
super super
...@@ -18,5 +19,4 @@ module EE ...@@ -18,5 +19,4 @@ module EE
end end
end end
end end
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment