Avoid order indication in separate line in sort_link.
This commit is contained in:
parent
3910773af4
commit
9799982e06
|
@ -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
|
||||
|
|
|
@ -46,7 +46,7 @@ module Ransack
|
|||
should match /sort_link desc/
|
||||
}
|
||||
it {
|
||||
should match /Full Name ▼/
|
||||
should match /Full Name ▼/
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue