I've made a restful resource middleware


#1