ajaxify_rails 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -89,7 +89,7 @@ base_path_regexp = ->
|
|
89
89
|
# starting with base path and continuing with '?', e.g. "^\/en\?" (i.e. we are at the base path root and have query params)
|
90
90
|
base_path_regexp_cache = new RegExp("^\/(#{ $.map(base_paths, (el) ->
|
91
91
|
el = regexp_escape el
|
92
|
-
"
|
92
|
+
"#{el}($|\/|\\?)"
|
93
93
|
).join('|')})", 'i')
|
94
94
|
|
95
95
|
|