File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2121 "rails-erb-loader" : " ^4.0.0" ,
2222 "react" : " ^15.4.2" ,
2323 "react-dom" : " ^15.4.2" ,
24- "react_ujs" : " ^1 .0.0 " ,
24+ "react_ujs" : " ^2 .0.2 " ,
2525 "sass-loader" : " ^6.0.3" ,
2626 "style-loader" : " ^0.16.1" ,
2727 "webpack" : " ^2.3.3" ,
Original file line number Diff line number Diff line change @@ -3450,9 +3450,9 @@ react@^15.4.2:
34503450 loose-envify "^1.1.0"
34513451 object-assign "^4.1.0"
34523452
3453- react_ujs@^1 .0.0 :
3454- version "1 .0.0 "
3455- resolved "https://registry.yarnpkg.com/react_ujs/-/react_ujs-1 .0.0 .tgz#33fbae8cd949fbdd28914d7a0b69bf3c078aa4be "
3453+ react_ujs@^2 .0.2 :
3454+ version "2 .0.2 "
3455+ resolved "https://registry.yarnpkg.com/react_ujs/-/react_ujs-2 .0.2 .tgz#0020f38fa2e47a04c03faa080325324bfa6d1f0b "
34563456
34573457read-cache@^1.0.0 :
34583458 version "1.0.0"
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def when_stateful_js_context_available
105105module ParamsHelper
106106 # Normalize params for Rails 5.1+
107107 def query_params ( params )
108- if Rails . gem_version . to_s > "5.0"
108+ if Rails :: VERSION :: MAJOR > 4
109109 { params : params }
110110 else
111111 params
You can’t perform that action at this time.
0 commit comments