Allows to declare resources and routes in a single line