diff options
author | Robert Speicher <robert@gitlab.com> | 2017-02-23 17:19:28 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-02-23 17:19:28 +0000 |
commit | 170fef0bd34a853bc2499cc7335705f73bc98edb (patch) | |
tree | f7af5116b41b7d697f9ac783bc647aba0d2902ab /lib/api/todos.rb | |
parent | 6a39888344a2478db022fdf8b5e41fd7625d83ab (diff) | |
parent | ade5e0b1ba04047c72cb0aff3d635a2cdaaab43c (diff) | |
download | gitlab-ce-170fef0bd34a853bc2499cc7335705f73bc98edb.tar.gz |
Merge branch 'dm-meer-blauw-op-straat' into 'master'
Enable (and disable) more RuboCops
See merge request !9432
Diffstat (limited to 'lib/api/todos.rb')
-rw-r--r-- | lib/api/todos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/todos.rb b/lib/api/todos.rb index 0b9650b296c..e59030428da 100644 --- a/lib/api/todos.rb +++ b/lib/api/todos.rb @@ -7,7 +7,7 @@ module API ISSUABLE_TYPES = { 'merge_requests' => ->(id) { find_merge_request_with_access(id) }, 'issues' => ->(id) { find_project_issue(id) } - } + }.freeze params do requires :id, type: String, desc: 'The ID of a project' |