Markdown preview does not work when creating a group milestone
Summary
When you create a group milestone and want to preview the description it will show Loading...
indefinitely.
Steps to reproduce
- Create a group
- Create a group milestone
- Input "abc" as description
- Click "Preview"
What is the current bug behavior?
Preview is not loaded.
What is the expected correct behavior?
Preview is loaded.
Reason
Why only set markdown_preview_path
when we are in the context of a project. What is more, preview_markdown
is an action defined in ProjectsController
.