diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-31 04:07:52 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-31 04:07:52 +0000 |
commit | 91503ad4ea2b150893202585cd8311da76046e72 (patch) | |
tree | c85dc1cdd665a181ae9775405e234ce34cf48061 /app/models | |
parent | 73df51454bf561025d1994ec9b9a0ad5fc5b7901 (diff) | |
download | redmine-91503ad4ea2b150893202585cd8311da76046e72.tar.gz redmine-91503ad4ea2b150893202585cd8311da76046e72.zip |
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
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/wiki_redirect.rb | 10 |
1 files 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 |