Merge pull request #1198 from NARKOZ/preview_notes
ability to preview notes
This commit is contained in:
commit
5fd0e7ba11
4 changed files with 35 additions and 6 deletions
|
@ -203,7 +203,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