README.md in routable-0.1.0 vs README.md in routable-0.1.1
- old
+ new
@@ -83,9 +83,12 @@
# can also route arbitrary blocks of code
@router.map("logout") do
User.logout
end
+ @router.map("logout/:id") do |params|
+ User.logout(params[:id])
+ end
@window.rootViewController = @router.navigation_controller
end
end
```