]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of QueriesHelper
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 21 Sep 2020 13:03:06 +0000 (13:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 21 Sep 2020 13:03:06 +0000 (13:03 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20054 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/queries_helper.rb

index a9d8cff6f64ff3c7c56dc3cc99319877c59b902a..8b5095f54b51d53acf154160a737d9be85e66360 100644 (file)
@@ -192,13 +192,14 @@ module QueriesHelper
       sort_param = {param_key => query.sort_criteria.add(column.name, order).to_param}
       sort_param = {$1 => {$2 => sort_param.values.first}} while sort_param.keys.first.to_s =~ /^(.+)\[(.+)\]$/
       link_options = {
-          :title => l(:label_sort_by, "\"#{column.caption}\""),
-          :class => css
-        }
+        :title => l(:label_sort_by, "\"#{column.caption}\""),
+        :class => css
+      }
       if options[:sort_link_options]
         link_options.merge! options[:sort_link_options]
       end
-      content = link_to(
+      content =
+        link_to(
           column.caption,
           {:params => request.query_parameters.deep_merge(sort_param)},
           link_options