Skip to content
Snippets Groups Projects
Commit 6ffd2f3d authored by Valeriy Sizov's avatar Valeriy Sizov
Browse files

Changes after review

parent 93e8d426
No related branches found
No related tags found
No related merge requests found
module Gitlab
# Issues API
# MergeRequest API
class MergeRequests < Grape::API
before { authenticate! }
 
Loading
Loading
@@ -26,7 +26,7 @@ module Gitlab
merge_request = user_project.merge_requests.new(attrs)
merge_request.author = current_user
authorize! :write_merge_request, merge_request
authorize! :write_merge_request, user_project
if merge_request.save
merge_request.reload_code
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment