diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2014-10-15 11:21:21 +0400 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2014-10-16 08:52:33 +0400 |
commit | 5700842ba8ca2f3100395a9fb98c759e78e63d96 (patch) | |
tree | 5014cffa098acd7f864159cdf2db1edcf1b21dd6 /app/controllers/projects/notes_controller.rb | |
parent | a0a826ebdcb783c660dd40d8cb217db28a9d4998 (diff) |
Add Markdown preview to more forms
Enable Markdown previews when creating and editing issues, merge
requests, and milestones, and when editing notes.
Diffstat (limited to 'app/controllers/projects/notes_controller.rb')
-rw-r--r-- | app/controllers/projects/notes_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb index 7b08b79d236..2f1d631c14a 100644 --- a/app/controllers/projects/notes_controller.rb +++ b/app/controllers/projects/notes_controller.rb @@ -61,10 +61,6 @@ class Projects::NotesController < Projects::ApplicationController end end - def preview - render text: view_context.markdown(params[:note]) - end - private def note |