summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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