Skip to content

Commit

Permalink
Refs #18: Add paper validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Brand committed Nov 3, 2017
1 parent 45361a0 commit 69a3ffb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/paper.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
class Paper < ActiveRecord::Base
validates :title, presence:true
end

0 comments on commit 69a3ffb

Please sign in to comment.