summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorHiroyuki Sato <sathiroyuki@gmail.com>2016-02-28 21:11:43 +0900
committerHiroyuki Sato <sathiroyuki@gmail.com>2016-03-16 02:17:07 +0900
commit8acad49fe0a492c2f4e16756135679b3a190543b (patch)
tree34971a3f5b8a3c7356a27ff8687fe65f64de37e2 /config/initializers
parent37707ac59e6c4e6db2b758338e13cb089dacd8c7 (diff)
downloadgitlab-ce-8acad49fe0a492c2f4e16756135679b3a190543b.tar.gz
Support Wiki with UTF-8 page name
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/gollum.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/initializers/gollum.rb b/config/initializers/gollum.rb
new file mode 100644
index 00000000000..703f24f93b2
--- /dev/null
+++ b/config/initializers/gollum.rb
@@ -0,0 +1,13 @@
+module Gollum
+ GIT_ADAPTER = "rugged"
+end
+require "gollum-lib"
+
+module Gollum
+ class Committer
+ # Patch for UTF-8 path
+ def method_missing(name, *args)
+ index.send(name, *args)
+ end
+ end
+end