client/app/reducers.js
/**
 * Merge route into the global application state
 */
Merge route into the global application state
Merge route into the global application state
function routeReducer(state = routeInitialState, action) {
  switch (action.type) {
    case LOCATION_CHANGE:
      return state.merge({
        location: action.payload
      })
    default:
      return state
  }
}
function routeReducer ( state = routeInitialState , action ) { switch ( action . type ) { case LOCATION_CHANGE : return state . merge ( { location : action . payload } ) default : return state } }
Merge route into the global application state
Merge route into the global application state
/* istanbul ignore next */