diff options
-rw-r--r-- | app/models/wiki.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/wiki.rb b/app/models/wiki.rb index b6d6a9b50..3432a2bc7 100644 --- a/app/models/wiki.rb +++ b/app/models/wiki.rb @@ -17,7 +17,7 @@ class Wiki < ActiveRecord::Base belongs_to :project - has_many :pages, :class_name => 'WikiPage', :dependent => :destroy + has_many :pages, :class_name => 'WikiPage', :dependent => :destroy, :order => 'title' has_many :redirects, :class_name => 'WikiRedirect', :dependent => :delete_all validates_presence_of :start_page |