render notes preview on server-side
This commit is contained in:
parent
1ec3bd3f8d
commit
9639780359
5 changed files with 18 additions and 1341 deletions
|
@ -199,7 +199,11 @@ Gitlab::Application.routes.draw do
|
|||
get :search
|
||||
end
|
||||
end
|
||||
resources :notes, :only => [:index, :create, :destroy]
|
||||
resources :notes, :only => [:index, :create, :destroy] do
|
||||
collection do
|
||||
post :preview
|
||||
end
|
||||
end
|
||||
end
|
||||
root :to => "dashboard#index"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue