Closed cap10morgan closed 12 years ago
I'm trying to determine a sane way to run the first step's (i.e. the one in the URL bar when the browser loads the app) before callback so that metadata about another step to jump to will already exist when redirect_to_step is called in that before callback, and we can send that down to the browser immediately.
Gentle with the premature optimizations. Let's get it working first.
That wasn't an optimization, premature or otherwise, just an implementation note. It's how the app should be behaving anyway.
This works now.
This would go in before blocks, and would basically be a "redirect" to some other step that you'd like to show right then instead of the one that's about to be displayed. redirect_to_step :foo might be a good choice for syntax.