diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-04-20 10:56:41 +0200 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-04-26 12:51:06 +0200 |
commit | 87327c5845a7feec92e546dc0da42282ac27de40 (patch) | |
tree | 87134624b3911bf49b2799fecd89f4a4334dc0c9 /config | |
parent | a9da37434af6d44c5f851affd4bd69b370760e8e (diff) | |
download | gitlab-ce-87327c5845a7feec92e546dc0da42282ac27de40.tar.gz |
Support preview_markdown action for personal_snippets
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/snippets.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/snippets.rb b/config/routes/snippets.rb index ce0d1314292..56534f677be 100644 --- a/config/routes/snippets.rb +++ b/config/routes/snippets.rb @@ -3,6 +3,7 @@ resources :snippets, concerns: :awardable do get 'raw' get 'download' post :mark_as_spam + post :preview_markdown end end |