Blame view

imports/client/app/utils/setQueryParam.js 224 Bytes
c4d3e07d0   Deepak   added login/reset...
1
2
3
4
5
6
7
  import _                                  from 'lodash';
  
  export const setQueryParam = (location, query) => ({
    pathname: location.pathname,
    hash:     location.hash,
    query:    _.assign({}, location.query, query),
  });