Hello, I write the following:
I've been watching my project chicagoboss uses identifiers as "model-1" or "test-1", I tried to do a direct search to view information for that id, but whenever I try to pass as a parameter the id, only gave me a 'not found "
My route was:
{"/ admin / test / (? <test_id> \ \ d +)", [{controller, "main"}, {action, "test_edit"}, {id, "$ test_id"}]}.
but could only pass a number by regular expression, then actualize my route:
{"/ admin / test / ((\ \ w +) - (\ \ d +))", [{controller, "main"}, {action, "test_edit"}, {id, '$ 1'}]}.
and wanted to know if this is the right way to expected.
sorry for the bad English.