summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 00:25:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 00:25:32 +0000
commit2dc0875a72e9a7846799d4d1b1335c01fd0ba633 (patch)
treee4d9e98df629a7b3004c9c8f73259c8c1005f2f8 /app
parent6d0f8f1db9563a054c3e48da5ede0aaeecedbe12 (diff)
downloadredmine-2dc0875a72e9a7846799d4d1b1335c01fd0ba633.tar.gz
redmine-2dc0875a72e9a7846799d4d1b1335c01fd0ba633.zip
scm: cvs: fix mistake human attribute names of root_url and url.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5516 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/repository/cvs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb
index d95b5f12d..4c8d8034f 100644
--- a/app/models/repository/cvs.rb
+++ b/app/models/repository/cvs.rb
@@ -22,8 +22,8 @@ class Repository::Cvs < Repository
validates_presence_of :url, :root_url, :log_encoding
ATTRIBUTE_KEY_NAMES = {
- "url" => "CVSROOT",
- "root_url" => "Module",
+ "root_url" => "CVSROOT",
+ "url" => "Module",
"log_encoding" => "Commit messages encoding",
}
def self.human_attribute_name(attribute_key_name)