summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-08 15:14:16 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-08 15:14:16 +0300
commit3aee31c00dfc1eccfc95543b80ee37a153cfb4bf (patch)
treecacb60e081bd6ecff449e44946060b958e47b203
parentb82140c6a4f23451f88c0fff113eab1f8fc2fa24 (diff)
downloadgitlab-ce-3aee31c00dfc1eccfc95543b80ee37a153cfb4bf.tar.gz
Gollum use own constant now
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/models/gollum_wiki.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/gollum_wiki.rb b/app/models/gollum_wiki.rb
index 613a7110d12..62c8b5145dd 100644
--- a/app/models/gollum_wiki.rb
+++ b/app/models/gollum_wiki.rb
@@ -41,7 +41,7 @@ class GollumWiki
def wiki
@wiki ||= begin
Gollum::Wiki.new(path_to_repo)
- rescue Grit::NoSuchPathError
+ rescue Gollum::NoSuchPathError
create_repo!
end
end