Routing Conventions in Can.js
问题 So I’m looking to make some routes within my super cool can.js application. Aiming for something like this… #!claims ClaimsController - lists claims #!claims/:id ClaimController - views a single claim #!claims/new ClaimController - creates a new claim #!claims/:id/pdf - do nothing, the ClaimController will handle it #!admin AdminController - loads my Administrative panel with menu #!admin/users - do nothing, the AdminController will handle it #!admin/settings - do nothing, the AdminController