##// END OF EJS Templates
removed project_id presence validation on wiki model which was failing when creating a project with a wiki...
Jean-Philippe Lang -
r332:56d0af472d62
parent child
Show More
@@ -19,7 +19,7 class Wiki < ActiveRecord::Base
19 belongs_to :project
19 belongs_to :project
20 has_many :pages, :class_name => 'WikiPage', :dependent => :destroy
20 has_many :pages, :class_name => 'WikiPage', :dependent => :destroy
21
21
22 validates_presence_of :project_id, :start_page
22 validates_presence_of :start_page
23
23
24 # find the page with the given title
24 # find the page with the given title
25 # if page doesn't exist, return a new page
25 # if page doesn't exist, return a new page
General Comments 0
You need to be logged in to leave comments. Login now