Created
September 28, 2014 16:09
-
-
Save ThomasLocke/c8c0e44eaac371051aff to your computer and use it in GitHub Desktop.
shelftest.routes.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library shelftest.routes; | |
| import 'handlers.dart' as handler; | |
| import 'package:shelf_route/shelf_route.dart'; | |
| Router routes = new Router() | |
| ..get('/user/{userid}', handler.getUser) | |
| ..put('/user/{userid}/name', handler.setUserName); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment