]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of SortHelper
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 16 Nov 2020 12:21:54 +0000 (12:21 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 16 Nov 2020 12:21:54 +0000 (12:21 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20392 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/sort_helper.rb

index e6fe55fbabafdc118923d7c4e2aa0cb79e2032e0..603f0f9f2b2099fcb0ac8138477425b4172bfd48 100644 (file)
@@ -124,7 +124,7 @@ module SortHelper
     end
     caption = column.to_s.humanize unless caption
 
-    sort_options = { :sort => @sort_criteria.add(column.to_s, order).to_param }
+    sort_options = {:sort => @sort_criteria.add(column.to_s, order).to_param}
     link_to(caption, {:params => request.query_parameters.merge(sort_options)}, :class => css)
   end