diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-01-02 19:56:03 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-01-04 22:17:03 +0900 |
commit | df7ed9eef2048c9a2f79860e00a69f84fa92e10e (patch) | |
tree | 58af696ab41bf8a9649f4c60b7663ec11bd496ec /app/models/releases | |
parent | 8a14548fc741e8d115d99e8303e36ed83660494d (diff) | |
download | gitlab-ce-df7ed9eef2048c9a2f79860e00a69f84fa92e10e.tar.gz |
Add unique constraint to release and url
Fix coding style
Improve coding style
Decouple UPDATE and DELETE operations of asset links
Rename links_attributes to assets:links
Rename exposed param and updated spec
Diffstat (limited to 'app/models/releases')
-rw-r--r-- | app/models/releases/source.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/releases/source.rb b/app/models/releases/source.rb index 254abf86e77..4d3d54457af 100644 --- a/app/models/releases/source.rb +++ b/app/models/releases/source.rb @@ -3,6 +3,7 @@ module Releases class Source include ActiveModel::Model + attr_accessor :project, :tag_name, :format FORMATS = %w(zip tar.gz tar.bz2 tar).freeze |