erichummel-sunspot_rails 1.2.1b → 1.2.1c
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sunspot/rails.rb +3 -3
- metadata +1 -1
data/lib/sunspot/rails.rb
CHANGED
@@ -47,9 +47,9 @@ module Sunspot #:nodoc:
|
|
47
47
|
def slave_config(sunspot_rails_configuration)
|
48
48
|
config = Sunspot::Configuration.build
|
49
49
|
config.solr.url = URI::HTTP.build(
|
50
|
-
:host =>
|
51
|
-
:port =>
|
52
|
-
:path =>
|
50
|
+
:host => sunspot_rails_configuration.hostname,
|
51
|
+
:port => sunspot_rails_configuration.port,
|
52
|
+
:path => sunspot_rails_configuration.path
|
53
53
|
).to_s
|
54
54
|
config
|
55
55
|
end
|