sentientmonkey-subdomain-fu 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/subdomain-fu.rb +1 -1
  2. metadata +1 -1
data/lib/subdomain-fu.rb CHANGED
@@ -177,7 +177,7 @@ module SubdomainFu
177
177
 
178
178
  def default_url_options_with_subdomain
179
179
  options = default_url_options_without_subdomain.dup
180
- options[:host] = "#{current_subdomain}.#{options[:host]}" if current_subdomain
180
+ options[:host] = SubdomainFu.rewrite_host_for_subdomains(current_subdomain, options[:host])
181
181
  options
182
182
  end
183
183
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentientmonkey-subdomain-fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh