From b605864899feddd758cba92d3a84dbe12b4e5e50 Mon Sep 17 00:00:00 2001 From: Billy Janitsch Date: Thu, 14 Jan 2016 23:04:02 -0500 Subject: [PATCH] Export unscoped action creators --- src/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.js b/src/index.js index 77b7f96..c75d4f7 100644 --- a/src/index.js +++ b/src/index.js @@ -12,13 +12,13 @@ function transition(method) { }) } -export const routeActions = { - push: transition('push'), - replace: transition('replace'), - go: transition('go'), - goBack: transition('goBack'), - goForward: transition('goForward') -} +export const push = transition('push') +export const replace = transition('replace') +export const go = transition('go') +export const goBack = transition('goBack') +export const goForward = transition('goForward') + +export const routeActions = { push, replace, go, goBack, goForward } function updateLocation(location) { return {