mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 06:24:04 +08:00
init project
This commit is contained in:
6
app/forms/contents/delete_form.rb
Normal file
6
app/forms/contents/delete_form.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class Contents::DeleteForm < BaseForm
|
||||
attr_accessor :login, :repo_identifier, :filepath, :branch, :new_branch, :sha
|
||||
|
||||
validates :login, :repo_identifier, :filepath, :sha, presence: true
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user