diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-06-12 11:30:13 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-06-12 11:30:13 +0000 |
commit | 1292b99b742fd83438b011d3082662d354b3330e (patch) | |
tree | 632a1604ef49870a4e3209d97663ab14f0e80acd /config | |
parent | 5d51bd170b192654512c339a4774780c00d124ed (diff) | |
download | gitlab-ce-1292b99b742fd83438b011d3082662d354b3330e.tar.gz |
Resolve "[Rails5] `ActionView::MissingTemplate` in spec/features/projects/wiki/user_views_wiki_page_spec.rb"
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/wiki.rb | 2 |
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 |