diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-05-26 13:37:49 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-05-26 13:37:49 +0300 |
commit | 3272620f724737f4dbb5e8c02f1610946435cd29 (patch) | |
tree | ae9fb3daccdf6b008ccb9c31d435e9548113c6ee /config | |
parent | 8ceb94081ac516ccaed43f0f4841725a4f9fe2db (diff) | |
download | gitlab-ce-3272620f724737f4dbb5e8c02f1610946435cd29.tar.gz |
lib/ refactoring. Module Gitlabhq renamed to Gitlab
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 2 | ||||
-rw-r--r-- | config/initializers/gitlabhq/20_grit_ext.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/environment.rb b/config/environment.rb index 9b09be0557d..c880a7adc42 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -4,4 +4,4 @@ require File.expand_path('../application', __FILE__) # Initialize the rails application Gitlab::Application.initialize! -require File.join(Rails.root, "lib", "gitlabhq", "git_host") +require File.join(Rails.root, "lib", "gitlab", "git_host") diff --git a/config/initializers/gitlabhq/20_grit_ext.rb b/config/initializers/gitlabhq/20_grit_ext.rb index 13e692cf20d..33c33ccc77a 100644 --- a/config/initializers/gitlabhq/20_grit_ext.rb +++ b/config/initializers/gitlabhq/20_grit_ext.rb @@ -15,11 +15,11 @@ end Grit::Diff.class_eval do def old_path - Gitlabhq::Encode.utf8 a_path + Gitlab::Encode.utf8 a_path end def new_path - Gitlabhq::Encode.utf8 b_path + Gitlab::Encode.utf8 b_path end end |