Browse Source

Fix RuboCop offense Style/BlockDelimiters due to r20755 (#33820).


git-svn-id: http://svn.redmine.org/redmine/trunk@20757 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Go MAEDA 3 years ago
parent
commit
e2ed50f971
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/controllers/auto_completes_controller.rb

+ 2
- 2
app/controllers/auto_completes_controller.rb View File

@@ -81,12 +81,12 @@ class AutoCompletesController < ApplicationController
end

def format_wiki_pages_json(wiki_pages)
wiki_pages.map {|wiki_page|
wiki_pages.map do |wiki_page|
{
'id' => wiki_page.id,
'label' => wiki_page.title.to_s.truncate(255),
'value' => wiki_page.title
}
}
end
end
end

Loading…
Cancel
Save