Search code examples
routesspine.js

Change routing separator in spine.js


How can I change the routing separator in spine.js from '#' to '#!'? Is there a setting of any kind?


Solution

  • The only way I could make it work was to edit route.coffee and change

    hashStrip = /^#*/

    to

    hashStrip = /^#!*/