summaryrefslogtreecommitdiff
path: root/config/routes/wiki.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/wiki.rb')
-rw-r--r--config/routes/wiki.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/wiki.rb b/config/routes/wiki.rb
index c2da84ff6f2..cd3828b743c 100644
--- a/config/routes/wiki.rb
+++ b/config/routes/wiki.rb
@@ -6,7 +6,7 @@ scope(controller: :wikis) do
post '/', to: 'wikis#create'
end
- scope(path: 'wikis/*id', as: :wiki, format: false) do
+ scope(path: 'wikis/*id', as: :wiki, format: false, defaults: { format: :html }) do
get :edit
get :history
post :preview_markdown