From 91503ad4ea2b150893202585cd8311da76046e72 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 31 Aug 2011 04:07:52 +0000 Subject: [PATCH] remove trailing white-spaces from app/models/wiki_redirect.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6835 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/wiki_redirect.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/models/wiki_redirect.rb b/app/models/wiki_redirect.rb index adc2b24c1..01762b949 100644 --- a/app/models/wiki_redirect.rb +++ b/app/models/wiki_redirect.rb @@ -1,23 +1,23 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang +# Redmine - project management software +# Copyright (C) 2006-2011 Jean-Philippe Lang # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class WikiRedirect < ActiveRecord::Base belongs_to :wiki - + validates_presence_of :title, :redirects_to validates_length_of :title, :redirects_to, :maximum => 255 end -- 2.39.5