File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -338,8 +338,8 @@ def initialize_redux_stores
338
338
# second parameter passed to both component and store generator functions.
339
339
def rails_context ( server_side :)
340
340
@rails_context ||= begin
341
- uri = URI . parse ( request . original_url )
342
- # uri = URI("http://foo.com:3000/posts?id=30&limit=5#time=1305298413")
341
+ uri = Addressable :: URI . parse ( request . original_url )
342
+ # uri = Addressable:: URI.parse ("http://foo.com:3000/posts?id=30&limit=5#time=1305298413")
343
343
344
344
result = {
345
345
# URL settings
@@ -350,6 +350,7 @@ def rails_context(server_side:)
350
350
port : uri . port ,
351
351
pathname : uri . path , # /posts
352
352
search : uri . query , # id=30&limit=5
353
+ fragment : uri . fragment , # time=1305298413
353
354
354
355
# Locale settings
355
356
i18nLocale : I18n . locale ,
You can’t perform that action at this time.
0 commit comments