Implement :accepts option, ref #1310
Merge pull request #1628 from padrino/add-accepts-option

Implement :accepts option, ref #1310