This allows for both :id and :name params to be passed into the controller. When a presenter is found, an :id is passed, but if the user hits enter with just a text string search, we still need to handle that case, hence why :name is still permitted.
This is a follow up to https://github.com/minnestar/sessionizer/pull/305, which broke the controller tests.
This allows for both
:id
and:name
params to be passed into the controller. When a presenter is found, an:id
is passed, but if the user hits enter with just a text string search, we still need to handle that case, hence why:name
is still permitted.