Avoid order indication in separate line in sort_link.

This commit is contained in:
Tibor Nagy 2014-08-07 13:45:03 +02:00
parent 3910773af4
commit 9799982e06
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ module Ransack
link_to(
[ERB::Util.h(name), order_indicator_for(current_dir)]
.compact
.join(' ')
.join(' ')
.html_safe,
url,
html_options

View File

@ -46,7 +46,7 @@ module Ransack
should match /sort_link desc/
}
it {
should match /Full Name ▼/
should match /Full Name ▼/
}
end