There's an accessor for dynamic arguments in the Router class, but there's no way to access static arguments outside of the router class. It's useful to be able to access the static arguments as well. So this request creates a getter Router#getStaticArgs() similarly to Router#getArgs().
Secondary, now the static arguments must be typed in without any spaces between quotes, commas and colons. For example:
GET / FakeController.method(staticArg1:'value',staticArg2:'value')
This pull request allows having spaces between the argument making it less strict and less brittle. E.g.:
GET / FakeController.method(staticArg1 : 'value', staticArg2 : 'value')
There's an accessor for dynamic arguments in the Router class, but there's no way to access static arguments outside of the router class. It's useful to be able to access the static arguments as well. So this request creates a getter Router#getStaticArgs() similarly to Router#getArgs().
Secondary, now the static arguments must be typed in without any spaces between quotes, commas and colons. For example:
This pull request allows having spaces between the argument making it less strict and less brittle. E.g.: