Allow a route to have :format => true
When format is true, it is mandatory (as opposed to :format => false). This is currently not possible with resource routes, which automatically make format optional by default.
Showing
想要评论请 注册 或 登录