muck-engine 0.1.28 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/helpers/muck_engine_helper.rb +1 -0
- data/muck-engine.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.29
|
@@ -83,6 +83,7 @@ module MuckEngineHelper
|
|
83
83
|
#link_to name, request.protocol + locale + '.' + request.domain + request.request_uri
|
84
84
|
#link_to name, request.url.gsub(request.protocol, "#{request.protocol}#{locale}.")
|
85
85
|
#link_to name, request.url.sub(request.protocol, "#{request.protocol}#{locale}.").sub('www.','')
|
86
|
+
protocol = request.protocol
|
86
87
|
if request.domain.count('.') == 1
|
87
88
|
new_domain = request.url.sub(protocol, "#{protocol}#{locale}.")
|
88
89
|
else
|
data/muck-engine.gemspec
CHANGED