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.
--
You received this message because you are subscribed to the Google Groups
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/360b3f25-f2ee-4656-b5e4-fb6493fe1ace%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.