config macro for resource routes cleaned up