From 3aee31c00dfc1eccfc95543b80ee37a153cfb4bf Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Tue, 8 Apr 2014 15:14:16 +0300
Subject: [PATCH] Gollum use own constant now

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
---
 app/models/gollum_wiki.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/gollum_wiki.rb b/app/models/gollum_wiki.rb
index 613a7110d1..62c8b5145d 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
-- 
2.30.9