Here are the two options I created this evening.
Option one is admittedly more limited, but it serves to demonstrate the basic technique:
Above, there are actually 2 different options. The first option, results in a string that could look something like this:
var action = "Edit"; var controller = "Discussions";
Simple, with discrete values.