summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-06-29 19:50:08 +0000
committerRobert Speicher <robert@gitlab.com>2016-06-29 19:50:08 +0000
commit84113d7e725dcf6f9a3945853475f0cede957fec (patch)
tree95d82e602ffe0f52d2e7b579f167ffaaa55d5e9c /config/routes.rb
parent722a6c533a33265214b993122167ff5398e198ea (diff)
parent28bafd5354427d27cabe40966bd069a75984e2b1 (diff)
downloadgitlab-ce-84113d7e725dcf6f9a3945853475f0cede957fec.tar.gz
Merge branch 'rubocop/enable-space-after-cops' into 'master'
Enable Style/SpaceAfterComma and Colon Rubocop cops See #17478 See merge request !4991
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index bdfb16a66bf..2aab73720f2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -653,7 +653,7 @@ Rails.application.routes.draw do
get '/wikis/*id', to: 'wikis#show', as: 'wiki', constraints: WIKI_SLUG_ID
delete '/wikis/*id', to: 'wikis#destroy', constraints: WIKI_SLUG_ID
put '/wikis/*id', to: 'wikis#update', constraints: WIKI_SLUG_ID
- post '/wikis/*id/markdown_preview', to:'wikis#markdown_preview', constraints: WIKI_SLUG_ID, as: 'wiki_markdown_preview'
+ post '/wikis/*id/markdown_preview', to: 'wikis#markdown_preview', constraints: WIKI_SLUG_ID, as: 'wiki_markdown_preview'
end
resource :repository, only: [:show, :create] do