rails-routes-js-utils 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -37,6 +37,9 @@ module Rails
|
|
37
37
|
|
38
38
|
#route.defaults contains action and controller name
|
39
39
|
reqs = route.defaults.merge(parts: route.parts)
|
40
|
+
|
41
|
+
|
42
|
+
subdomain_regex = {}
|
40
43
|
if route.constraints[:subdomain]
|
41
44
|
subdomain_regex = route.constraints[:subdomain].to_javascript
|
42
45
|
end
|